Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(instrumenter): add excludedMutations support #2513

Merged
merged 5 commits into from Oct 4, 2020

Conversation

nicojs
Copy link
Member

@nicojs nicojs commented Sep 30, 2020

Add support to configure mutator.excludedMutations. This was already supported in Stryker@<3, but not yet in Stryker4 beta.

Instead of not generating the mutants, it generates them without placing them in the code. They get reported as ignored in your mutation testing report.

image

Also, add error message, ignore reason, and "killed by" test name in the "show more" modal dialog.

image

Fixes #2396

Add support to configure `mutator.excludedMutations`. This wa already supported in Stryker@<3, but not yet in Stryker4 beta.

Instead of not generating the mutants, it generates them, but not places them in the code. They get reported as `ignored` in your mutation testing report.
Report the error message of a runtime error mutant in the description of that mutant, which is shown in the "show more" modal dialog.
@nicojs
Copy link
Member Author

nicojs commented Oct 2, 2020

Fixes #2423

@nicojs nicojs merged commit bfd714f into epic/mutation-switching Oct 4, 2020
@nicojs nicojs deleted the feat/excluded-mutations branch October 4, 2020 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Reimplement excludedMutations with mutation switching
3 participants