Skip to content

Add vitest coverage reporting with 70 percent line coverage threshold #257

@snipcodeit

Description

@snipcodeit

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

  • Add vitest coverage reporting with 70 percent line coverage threshold

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

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions