stryker-net icon indicating copy to clipboard operation
stryker-net copied to clipboard

Extend information about survived mutant with keyword used to disable mutant in coment

Open CzBuCHi opened this issue 1 year ago • 7 comments

Is your feature request related to a problem? Please describe. When mutant survives html report will show bottom panel with explanation why. But it doesnt show how to disable that particular mutant.

For example i++ mutates to i-- and survives and i get this message:

PostIncrementExpression to PostDecrementExpression mutation Survived (74:36)

Describe the solution you'd like i would like to see there what comment i need to write in source code to disable given mutation - something like "to disable mutant write \\ Stryker disable once Update coment before mutated code" (probably right under 'mutation Survived' line -or- directly in source code, but that seems too complicated ...)

Describe alternatives you've considered Currently i need to search for https://stryker-mutator.io/docs/stryker-net/mutations/ page (because i dont remember its url) to find out that i need to use word update in \\ Stryker disable comment to disable this mutant

CzBuCHi avatar Apr 05 '23 15:04 CzBuCHi