Closed SOF3 closed 9 months ago
@k3rn31 @SOF3 Hi! I'd like to make PR on this issue. And already have a draft, because I need that for my project
Sorry, I have not seen this issue before I decided to try make change. I was not sure about result.
Here is PR. Take a look, please.
🚀 Feature Request
Is your feature request related to a problem? Please describe
For projects with low test coverage baseline, it is a common [citation needed] practice to enforce only diff coverage rather than full coverage. Mutation testing would be useful to ensure that new tests have sufficient assertions, but its impact is largely diluted by the large amount of unrelated code.
Describe the solution you'd like
During the initial passing run, identify the lines covered by unit tests that cover changed files/lines. When generating mutants, only generate them on these covered lines.
Describe alternatives you've considered
Alternatively, only generate mutants on changed lines to further reduce dilution.
Additional context