Skip to content

Can i change how many mutations are created? #2086

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

You must be logged in to vote

We always generate all possible mutations. There should not be any element of randomness. If you experience an element of randomness on the total amount of mutants on the exact same codebase with the exact same stryker version then we have a bug. If you experience an element of randomness in the mutants per status then we might have a bug on for example coverage analysis or your tests might not be entirely deterministic. Or if you experience new mutations when you add more code then that is to be expected as there would be more code to mutate. New versions of stryker could also influence the amount of mutants due to adding new mutators or fixing bugs.

Replies: 1 comment 1 reply

Comment options

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

Answer selected by rouke-broersma
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