We are currently running an OpenCover session, which is running the nunit3.console.exe.
Our command line is the following:
"C:\Program Files (x86)\OpenCover\OpenCover.Console.exe" -output:"%CD%\opencover.xml" -register:user -target:"C:\Program Files (x86)\NUnit.org\nunit-console\nunit3-console.exe" -targetargs:"Solution\our-solution-file.sln --config=Debug --result=%CD%\TestResult.xml;format=nunit2"
exit 0
We were expecting this to be slower than our normal unit test due to the instrumentation in between, but not that much.
Without code coverage, the unit tests take something like 1h. And currently, with the code coverage, we already spent 3 days and 23hours, and we think we only executed less 10%.
Those results should be exported to SonarQube after.
Is there something we can do to improve the speed(except upgrading the computer running the test, which will probably be done anyway)?
Like having less detailed results, ... ? We are mostly interested by the code coverage, the duration and other stuff is not very interesting for us. Or even using another tool than OpenCover.
I don't know if this matters, but this line is executed by jenkins.