stryker-mutator / stryker-net

Mutation testing for .NET core and .NET framework!
https://stryker-mutator.io
Apache License 2.0
1.79k stars 188 forks source link

F# rollback functionality #2716

Open psfinaki opened 1 year ago

psfinaki commented 1 year ago

This is just a small ticket to keep the F# rollback on the radar. We might or might not need it, it will be clear after we start having real mutations in F#. If we come up with mutations which are useful but potentially breaking, we should bring the rollback logic inspired by the current C# rollback process.

dupdob commented 1 year ago

quick remark: I would even suggest aiming one step beyond the existing design. The current rollback logic lacks the ability to re-inject a rolled back mutation; if the rollback logic could do that, there is no problem when a compilation error cannot be directly linked with the guilty mutation; the algorithm can just proceed with trial and error. It would be slower, but far more conservative that the rollback everything logic we have with safe mode.