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

Mutually exclusive validation incorrectly triggered when using baseline flag #2743

Closed YurivanRuler closed 10 months ago

YurivanRuler commented 10 months ago

Describe the bug When using the dotnet-stryker command with the --with-baseline: flag, it appears that the recently introduced validation within the SinceInput class (Link) is being triggered incorrectly. This issue seems to occur without explicitly using the since flag. This problem surfaced following the release of Stryker 3.11.0 and is resulting in a breaking change.

Logs

Version: 3.11.0

Stryker.NET failed to mutate your project. For more information see the logs 
below:

The since and baseline features are mutually exclusive.

##[error]PowerShell exited with code '1'.

Expected behavior Not triggering this validation when using the baseline flag without the since flag.

Version