Description
Configure vitest coverage with v8 provider. Add npm run test:coverage script. Set lines: 70 threshold — CI fails if coverage drops below. Add coverage badge to README. Store reports in coverage/ which is gitignored.
Acceptance Criteria
Milestone Context
|
|
| Milestone |
v6 — Local Testing & Simulation Framework |
| Phase |
Phase 50: CI Integration & Coverage |
| GSD Route |
quick |
| Phase Position |
Phase 4 of 4 in milestone |
Milestone Goal
Offline test suite with mock GitHub API and fake GSD agents to validate MGW orchestration logic without requiring live GitHub tokens or active Claude API calls.
Phase Goal
Wire the test suite into CI, enforce coverage thresholds, and add a local test helper so contributors can run the full suite in one step.
Dependencies
add-github-actions-test-workflow-running-on-ever
Scope Hints
- Estimated route:
quick
- Labels: testing,ci
Description
Configure vitest coverage with v8 provider. Add npm run test:coverage script. Set lines: 70 threshold — CI fails if coverage drops below. Add coverage badge to README. Store reports in coverage/ which is gitignored.
Acceptance Criteria
Milestone Context
quickMilestone Goal
Offline test suite with mock GitHub API and fake GSD agents to validate MGW orchestration logic without requiring live GitHub tokens or active Claude API calls.
Phase Goal
Wire the test suite into CI, enforce coverage thresholds, and add a local test helper so contributors can run the full suite in one step.
Dependencies
add-github-actions-test-workflow-running-on-ever
Scope Hints
quick