Code Coverage Dot cover couldn't cover any code even after mentioning single assemblies and mutiple assemblies(+:*)
I have added DotCover code coverage for MSTest build step and mentioned test class in assemblies section of the step. Code coverage runs but it doesn't show anything in the code coverage step and i get the following in the logs.
No executable code was detected.
The issue could be caused by one of the following:
- Include / exclude patterns are incorrect
- Assemblies are compiled without debugging information
- .pdb files are not available
- Visual Studio code coverage is enabled for MSTest
- .testrunconfig is used for MSTest and Visual Studio code coverage is not disabled (CodeCoverage section with enable="true" is present)
Please sign in to leave a comment.
Hi,
please share a screenshot of how you have set it up for us to review. Also, of course, please follow the suggestions on the message.
Attached is the screenshot of dotCover configuration.
Hi,
thanks for the screenshot. The config looks good initially, could you please collect the full build log and send it to us for review? Please use the submit a request button above.