Hi,
On my software factory, I get quite consistenly 0 visitedSequencePoint, hence 0% coverage, which is wrong, as even the passed tests are considered unvisited.
I did try -register:user, pregesister using regsvr32 (and I can confirm keys in the registry are present in HKLM).
I run the opencovers in parallel on separate assemblies under jenkins, using the following command line:
D:/Jenkins/Tools/OpenCover-4.6.166/OpenCover.Console.exe
-hideskipped:All
-mergebyhash
-skipautoprops
-threshold:1
-target:D:/Jenkins/Tools/NUnit/bin/nunit-console-x86.exe
-targetargs:-framework:net-4.0 -nologo -noshadow -labels -work=D:\Jenkins\workspace\SONAR-Coverage\NUnit-report -result=TestAssembly-1.xml -include:-GUI-nonreg TestAssembly.dll
-output:D:\Jenkins\workspace\SONAR-Coverage\OpenCover-report\TestAssembly-1.xml
I tried to make the jenkins account admin of the machine, but it did not change.
On the 200+ jobs running in parallel (at around 20 max at the same time), around 70% of them are getting 0% coverage.
When trying to run only a single assembly at once, I also get 0% coverage.
When I run the coverage on a single assembly alone on my dev pc, I get a coverage without issue.
Could you please help in figuring out what happens ? Do I miss a config ? Should you need a debug version of opencover to get more info, I can totally install it and provide you logs.
Thanks in advance
Arnaud