Which StrykerJS results should a team act on first?
StrykerJS changes program code and runs the test suite to see which changes it detects. A surviving mutation is worth attention when it changes a result users care about and a small test can expose the difference. Understand the status categories before treating a percentage as a release target.
Trace a survivor to a user-visible example
Consider a booking rule that allows cancellation up to and including the deadline. A suite covering yesterday and tomorrow can exercise the function yet miss the exact cut-off. If changing the boundary comparison survives, add an example for the exact instant and rerun the affected suite. Record whether that particular mutant is now killed.
| Report item | Question to ask | Useful action |
|---|---|---|
| Survived boundary change | Does the exact cut-off change the result? | Add a case from the stated policy |
| No coverage | Did any test execute this code? | Trace the entry point or justify exclusion |
| Timeout | Was the run consistently slow? | Inspect timing before crediting an assertion |
Report statuses alongside the score
For this desk review we examined Stryker’s setup and its definitions of mutant states. Stryker distinguishes survivors from mutations that received no coverage. It also accounts for timeouts when calculating the detected count. Before comparing two runs, check the files included, the test command, statuses and any exclusions. Otherwise a changed scope can look like a quality improvement.