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

The SinceMutantFilter does not mark the unit test as changed if for any reason the TestFilePath is empty #2752

Closed MischaVreeburg closed 2 months ago

MischaVreeburg commented 9 months ago

Describe the bug When the SinceMutantFilter is active and there are tests that do not have a TestFilePath, then these are never marked as having been changed and needing a rescan.

Expected behavior All covering tests that don't have a TestFilePath are marked as needing a rescan because Stryker is unable to determine if the file is part of the changeset and it is better to err on the side of caution in this case.

Desktop (please complete the following information):