You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
A simple project without any stryker configuration gives this error.
This happend because there was a test reference in the non-test project:
Removing this packageReference fixes the problem. Maybe with a better error message it would be quicker to find the root cause.
Logs
For us to best assist you in diagnosing the problem we would ask you to run stryker with the option --log-to-file or -L and to attach the resulting logs to the issue. log-20241011.txt
Expected behavior
calling 'dotnet stryker' should give a clear error when it only finds test projects.
Desktop (please complete the following information):
OS: Windows
Type of project Asp .NET Core
Framework Version .net 8
Stryker Version: latest
The text was updated successfully, but these errors were encountered:
For the simple case I guess we could add a check that the solution only contains test projects, and provide a nice error message. For the more complex case with multiple valid projects and some invalid projects due to test framework references in non-test projects I'm not sure how we would detect/solve that.
Describe the bug
A simple project without any stryker configuration gives this error.
This happend because there was a test reference in the non-test project:
Removing this packageReference fixes the problem. Maybe with a better error message it would be quicker to find the root cause.
Logs
For us to best assist you in diagnosing the problem we would ask you to run stryker with the option
--log-to-file
or-L
and to attach the resulting logs to the issue.log-20241011.txt
Expected behavior
calling 'dotnet stryker' should give a clear error when it only finds test projects.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: