Stryker.NET failed to mutate your project
See original GitHub issueSummary
Stryker failed to analyse a solution with the message No .csproj file found
. Command line used:
dotnet stryker --solution-path Anemonis.JsonRpc.sln -l debug -f
Logs
Expected behavior
Stryker succeeded to analyse a solution.
Environment
- OS: macOS
- Project: .NET Standard library (Multiple targets), MSTest v2 (.NET Core 2.2 App target)
- SDK: .NET Core 2.2.300
- Version: 0.11.0 (beta)
Additional context
The example project: https://github.com/alexanderkozlenko/json-rpc
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Troubleshooting | Stryker Mutator
The initial test run might fail when you're using ts-jest or ts-node. The reason for this is that Stryker will mutate your code...
Read more >Configuration | Stryker Mutator
The project file name is required when your test project has more than one project reference. Stryker can currently mutate one project under...
Read more >Stryker can't find .csproj file even though it's passed in ...
1 Answer. --project-file should point to the project you intend to mutate, not the unit test project. That is, if My. Project.
Read more >Newest 'stryker' Questions
Getting different mutation scores each time I run Stryker from the root of the project which has multiple test projects. Does stryker support ......
Read more >Mutation Analysis with Stryker.NET and SonarQube
Mutation Testing is a type of software testing in which certain statements of the source code are changed/mutated to check if the test...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hey! Stryker currently needs to be run from the context of the unit test project (we have plans to change this in the future). Could you try running stryker from https://github.com/alexanderkozlenko/json-rpc/tree/master/src/Anemonis.JsonRpc.UnitTests ?
Also the solution file path is not required for dotnet core.
Could you create an issue for the html report here: https://github.com/stryker-mutator/mutation-testing-elements