Open CzBuCHi opened 1 year ago
You could take a look at https://stryker-mutator.io/docs/stryker-net/configuration/#mutate-glob
It supports mutating just a single line in a single file like this dotnet stryker -m "MyFolder/MyService.cs{10..11}"
CLI, that will load previous report, filter surviving mutants and run tests only against those
This sounds interesting. @rouke-broersma would this be a nice feature for hacktoberfest?
@richardwerkman after reading thru mutate-grob page i think that this could be used to run only survivintg mutants:
dotnet stryker -m "MyFolder/MyService.cs{10..11}" [+params form original run]
in mte-drawer-mutant
element so i can copy it to terminal and run - result would be new reportsure i could parse json report externally and generate all globs but i dont like it ... (poking around in generated json - specially when its structure may change in next version)
Is your feature request related to a problem? Please describe. Imagine project with lots of mutations that stryker will spend couple of minutes slauthering just to find out, that some mutants survived ...
Describe the solution you'd like ... now i would like to:
mte-drawer-mutant
element that i just copy to terminal and runDescribe alternatives you've considered CLI, that will load previous report, filter surviving mutants and run tests only against those ...
Additional context In report all other mutants should get 'ignored' status and source code should be updated.