-
Notifications
You must be signed in to change notification settings - Fork 322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code Coverage enabled breaks reporting #1755
Comments
@MoiMoiDG take a look at issue nunit/nunit3-vs-adapter#519 Nunit does not support running tests with code coverage run while using the vstest platform tool installer. |
@ShreyasRmsft: Thank you for the reply. I had a look at the linked issue, but I could not find any information to solve my problem. |
@MoiMoiDG as of now this hasn't been fixed. We have to go fix it in the Nunit adapter. Until then you may want to use VS instead of the vstestplatformtool installer for running Nunit tests with code coverage |
@MoiMoiDG please follow the workaround for now. Will track the issue in the one filed on the NUnit Adapter side |
@ShreyasRmsft: Thanks for the reply. I understand to keep the other issue open, but the workaround is not that easy for me, because I would need VS Enterprise on each machine running the tests. Is there any other solution but switching from NUnit to MS Test? |
Description
In TFS 2018.2 CI build, enabling code coverage breaks reporting of test results (and code coverage itself).
Steps to reproduce
TFS 2018.2, code coverage enabled. See details below.
Expected behavior
Enabling code coverage shall show the code coverage, disabling it shall not compute it or hide the results.
Actual behavior
Enabling code coverage breaks test results.
Diagnostic logs
Code Coverage enabled, see screenshot below:
Code Coverage disabled, see screenshot below:
Logs, see attachment below:
13_Test Assemblies release.Tests.dll;-obj.txt
Environment
TFS 2018.2, see attached logs for more details. Let me know whether more information is needed.
The text was updated successfully, but these errors were encountered: