Skip to content

How to filter the tests that mutants run against? #1691

Closed Answered by rouke-broersma
petertiedemann asked this question in Q&A
Discussion options

You must be logged in to vote

By default stryker will only run unit tests that cover the enabled mutants, so if you use mutate to limit the scope of the mutants to test, your unit tests should also be scoped to those mutants. Sometimes we can't determine the scope of a unit test, and then that unit test will also be included in the set.

In V1 there will also be a new feature where you can pass a testfilter to stryker, but that shouldn't be neccesary for your usecase.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@petertiedemann
Comment options

Answer selected by petertiedemann
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants