Test Isolation
Keep tests hermetic: sandboxes, child processes, cleanup and the machine tripwire
This section contains quality assurance documentation, test plans, and testing practices for Morphir .NET.
| Document | Description |
|---|---|
| Phase 1 Test Plan | Initial test plan for Phase 1 features |
| Copilot Skill Emulation Test Plan | BDD scenarios for GitHub Copilot skill emulation |
| Document | Description |
|---|---|
| Copilot Skill Emulation Execution Report | Results from skill emulation testing |
| Copilot Scenarios Runner | Automated scenario execution documentation |
| Document | Description |
|---|---|
| WASM host qualification | The internal, experimental mck wasm-host commands |
All development in morphir-dotnet follows TDD:
| Type | Framework | Purpose |
|---|---|---|
| Unit Tests | TUnit | Individual component testing |
| BDD Tests | Reqnroll | Behavior specification and acceptance |
| Property Tests | FsCheck | Property-based verification |
| Integration Tests | TUnit | Cross-component integration |
Tests run in parallel and must not touch the developer’s machine. Run child processes through TestSandbox and ChildProcess, clean up with TolerantDirectory, and add the machine tripwire to process-heavy test projects. See Test Isolation.
# Run all tests
dotnet test --nologo
# Run with coverage
dotnet test --collect:"XPlat Code Coverage"
# Run specific test project
dotnet test tests/Morphir.Core.Tests
Keep tests hermetic: sandboxes, child processes, cleanup and the machine tripwire
Test plan for Phase 1 of the Deployment Architecture Refactor
Test plan to validate documentation-based skill emulation in GitHub Copilot (Issue #266).
Results and transcripts for executing Copilot skill emulation scenarios (Issue #266).
Step-by-step prompts and expected outputs for executing Copilot skill emulation BDD scenarios.
The internal, experimental mck wasm-host commands that run the crafted WASM host cases against a host’s worker mode
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.