Description
Configure and tune mutation testing to achieve and enforce an 80% mutation score across the core service layer, identifying and closing gaps where existing tests fail to detect injected mutations.
Requirements and Context
- Testing: Configure Stryker for all core services in
apps/backend/src/services/ and apps/frontend/src/services/
- Coverage: Achieve 80% mutation score on core services
- Documentation: Update
docs/mutation-testing.md
Suggested Execution
Branch: test/issue-050-core-services-mutation-score-80
Implement Changes
- Configure
stryker.conf.json to target the core service layer
- Run mutation testing and identify surviving mutants
- Add or strengthen tests to kill surviving mutants until 80% score is reached
- Update
docs/mutation-testing.md with the achieved scores
Test and Commit
- Achieve at least 80% mutation score on core services
- All newly added tests must be meaningful (not just mutant-killing hacks)
- Update mutation-testing.md with final scores
Example Commit Message
test(mutation): achieve 80% mutation score on core services
- Configure Stryker for backend and frontend core services
- Add tests to kill surviving mutants
- Update mutation-testing.md with achieved scores
Guidelines
- Focus on meaningful test improvements, not gaming the score
- Document any intentionally ignored mutants with justification
- Run mutation testing incrementally to keep runtime manageable
Description
Configure and tune mutation testing to achieve and enforce an 80% mutation score across the core service layer, identifying and closing gaps where existing tests fail to detect injected mutations.
Requirements and Context
apps/backend/src/services/andapps/frontend/src/services/docs/mutation-testing.mdSuggested Execution
Branch:
test/issue-050-core-services-mutation-score-80Implement Changes
stryker.conf.jsonto target the core service layerdocs/mutation-testing.mdwith the achieved scoresTest and Commit
Example Commit Message
Guidelines