Skip to content

Build Mutation Testing Configuration for Achieving 80% Mutation Score on Core Services #586

@temma02

Description

@temma02

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

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions