Closed vbreuss closed 1 year ago
I have found the issue, the syntaxnode for the unit test does not exist in the syntaxtree where we're trying to find the unit test location in the test code file where there is a #if NET6_0_OR_GREATER preprocessor directive: https://github.com/Testably/Testably.Abstractions/blob/main/Tests/Testably.Abstractions.Testing.Tests/MockFileSystemTests.cs#L284
Obviously since the unit test is discovered the directive is active during mutation testing, not sure why it's not being found when we're creating the syntax tree.
The fix has been released as 3.8.2
Thanks, @rouke-broersma ! I checked the new tool version and the error disappeared (although I still can't upload the report due to #2493 yet...)
Describe the bug In my project Stryker shows an error message, where it worked with v3.7.1:
Logs See the test run on Github.
Expected behavior After reverting stryker to v3.7.1 the build was successful: https://github.com/Testably/Testably.Abstractions/actions/runs/4902612340
Desktop (please complete the following information):
Additional context This issue was copied from stryker-mutator/mutation-testing-elements#2493