stryker-mutator / stryker-net

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

Validate since and with-baseline mutually exclusive #2721

Closed danihengeveld closed 11 months ago

danihengeveld commented 11 months ago

Is your feature request related to a problem? Please describe. At the moment, it is possible to use the --since and --with-baseline flags at the same time, but we want this to be mutually exclusive.

Describe the solution you'd like We want to add the following validation:

For both of these scenarios, we want to throw an InputException.

Describe alternatives you've considered In the near future, we want to make these options into explicit commands. See: #2124, #2554. This way, the user needs to explicitly choose which one to use. But this requires some work to be done to the cli/command setup first.