Skip to content
This repository was archived by the owner on Nov 15, 2021. It is now read-only.
This repository was archived by the owner on Nov 15, 2021. It is now read-only.

Support OpenCover on MacOS #228

@whigley

Description

@whigley

I run nunit test on MacOS fine using mono command, but when I try to do the same thing with Open Cover I get this error:

Command Used:
mono "/Users/xxx/build_bin/opencover.4.5.3207/OpenCover.Console.exe" -target:"/Users/xxx/build_bin/NUnit-2.6.3/bin/nunit-console-x86.exe" -targetargs:"-nologo -noshadow ${WORKSPACE}/src/MyApp.PSC/App.PSC.Common.UnitTests/bin/Release/App.PSC.Common.UnitTests.dll" -filter:"+:* -:UnitTests" -register:/Users/xxx/build_bin/opencover.4.5.3207/x86/OpenCover.Profiler.dll: -mergebyhash -output:${WORKSPACE}/CodeCoverage.xml

Error:
The files /Users/pearson-cm/JenkinsX/workspace/DryRun-i/regsvr32.exe, /s, and /Users/pearson-cm/build_bin/opencover.4.5.3207/x86\OpenCover.Profiler.dll do not exist.

If I remove the -register, then it works but no coverage report is created.

What am I doing wrong???

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions