Skip to content
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

OpenCover.UI seems to be incompatible with nUnit 3 #158

Open
pawelelert opened this issue Apr 28, 2017 · 3 comments
Open

OpenCover.UI seems to be incompatible with nUnit 3 #158

pawelelert opened this issue Apr 28, 2017 · 3 comments

Comments

@pawelelert
Copy link

Hi,

I have tried to run OpenCover.UI with newest version of nUnit (3.6.1), but I receive error as reported below. Digging into google, I get impression that /runlist switch referenced by OpenCover.UI is only working with nUnit console runner v.2 and not in nUnit console runner v3. Am I right?

Below please find exact error:
144 tests found
-target:"C:\Users\pelert\PE\IMA_code\packages\NUnit.ConsoleRunner.3.6.1\tools\nunit3-console.exe" -targetargs:""C:\Users\pelert\PE\IMA_code\Ima.Udm.Aggregators.UnitTest\bin\Debug\Ima.Udm.Aggregators.UnitTest.dll" /runlist="C:\Users\pelert\PE\IMA_code\OpenCover\2017_04_28_09_36_52_3652.txt" /nologo /noshadow /result="C:\Users\pelert\PE\IMA_code\OpenCover\2017_04_28_09_36_52_3652.xml"" -output:"C:\Users\pelert\PE\IMA_code\OpenCover\612d48c3-64b6-4c93-8144-c019667c8b34\53242027-742e-452a-b00f-f027657b05c0.xml" -hideskipped:All -register:user
144 tests found
Executing: C:\Users\pelert\PE\IMA_code\packages\NUnit.ConsoleRunner.3.6.1\tools\nunit3-console.exe
NUnit Console Runner 3.6.1
Copyright (C) 2017 Charlie Poole

Committing...
No results, this could be for a number of reasons. The most common reasons are:
1) missing PDBs for the assemblies that match the filter please review the
output file and refer to the Usage guide (Usage.rtf) about filters.
2) the profiler may not be registered correctly, please refer to the Usage
guide and the -register switch.

Invalid argument: /runlist=C:\Users\pelert\PE\IMA_code\OpenCover\2017_04_28_09_36_52_3652.txt
Invalid argument: /nologo
Invalid argument: /noshadow

Versions used:

  • OpenCover exe: 4.6.434.0
  • OpenCover.UI: 0.8.1
  • Visual Studio (inc. SP number): 2015
  • NUnit: 3.6.1

Best regards
Pawel Elert

@BrettWalkerWork
Copy link

Hi There, I am experiencing the same issue with NUnit: 3.6.1. Thanks for raising this Pawel.

@sawilde
Copy link
Contributor

sawilde commented May 2, 2017

The arguments have changed between nunit2 and nunit3 and this may account for the issues you are seeing

@stevewi1950
Copy link

Hi there.
This appears to be fixed via #102 as is now in the trunk.
Any ideas when a new release is going to be created?
I am more than happy to spare some time to get involved with this to move things along as I know other people have lots of other work commitments etc.
I cannot really start using this tool until the NUnit 3.x mods are part of a formal release....
Regards.

Steve Williams

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants