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

NUnit Console Runner 3.7.0 reports that format nunit2 is unknown #294

Closed
tetrishonda opened this issue Sep 27, 2017 · 1 comment
Closed
Labels

Comments

@tetrishonda
Copy link

tetrishonda commented Sep 27, 2017

Hello, I'm trying to set up nunit 3.7.0 using Bamboo CI.
Currently I'm getting next error:
build 27-Sep-2017 13:13:43 Unknown result format: nunit2

As a solution I've tried to put nunit-v2-result-writer.dll into tools folder but it didn't help.
Any suggestions?
nunit

@ChrisMaddock
Copy link
Member

The path in your .addins file need to point to the location of nunit-v2-result-writer.dll. That will load the extension.

How are you getting the console runner onto your server? It looks like you've installed nunit.consolerunner from NuGet, and then manually copied in nunit-v2-result-writer.dll. If you install both NUnit.ConsoleRunner and NUnit.Extension.NUnitV2ResultWriter directly from NuGet, it should 'just work'. I'd recommend doing that, instead of editing your .addins file - unless you have a good reason not the use the default functionality.

Further details here: https://github.com/nunit/docs/wiki/Engine-Addins-Spec#locating-addins

@ChrisMaddock ChrisMaddock added this to the Closed Without Action milestone Sep 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants