Commit afa28ab
committed
test(gsd-orchestrator): track test suite; ignore TestResults; update ci
- Add tests/Orchestrator.Tests.ps1 (Pester): smoke-tests every exported
function of the GsdOrchestrator PowerShell module by invoking each
and asserting it does not throw.
- Ignore **/TestResults/ (covers both the root TestResults/ dir and the
nested src/GsdOrchestrator.Tests/TestResults/ produced by dotnet test
--collect coverage) — these are generated run artifacts, not source.
- Update .github/workflows/ci.yml to enforce 100% line coverage after
the test step: parses TestResults/**/coverage.cobertura.xml and fails
the job if line-rate < 1.0.1 parent 347e729 commit afa28ab
3 files changed
Lines changed: 29 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
45 | 60 | | |
46 | 61 | | |
47 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
14 | 17 | | |
15 | 18 | | |
16 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
0 commit comments