-
-
Notifications
You must be signed in to change notification settings - Fork 732
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
NUnit3 using NUnit.ConsoleRunner post v3.2.1 and TeamCity #1212
Comments
@danielwertheim did you also install the TeamCity extension for NUnit? As of NUnit 3.4 TeamCity event listener has been separated out of the engine https://github.com/nunit/docs/wiki/Release-Notes |
I.e. this package https://www.nuget.org/packages/NUnit.Extension.TeamCityEventListener/ |
@mholo65 no, wasn't aware. Tried to do:
That should work, no? |
yep, NUnit.Console includes a lot, in fact its just an empty package which references a bunch of other packages. But since Cake doesn't play nicely with NuGet refernces, you'll have to install the runner (NUnit.ConsoleRunner) + the wanted extensions (e.g. NUnit.Extension.TeamCityEventListener) manually... |
@danielwertheim it won't work as tool currently expects an exe, though once @patriksvensson is finished with #1202 it'll be configurable. |
Btw, don't thinl you can install using the |
@devlead missed your comment, but isn't it possible to use addin and have cake install addins to same path as tools? There's a config for that? Writing on phone ( too lazy to check)... |
You could config the paths, but there's no guarantee it'll work as addin assemblies are loaded by cake. |
Used packages.config and then it worked with latest versions. |
What You Are Seeing?
Using v3.2.1 of the NuGet for NUnit.ConsoleRunner and the settings:
TeamCity identified and displayed test results. Using v3.4.1 it does not. Not sure if Cake plugin needs to be updated or if it's an NUnit thing.
What is Expected?
Test results to be identified and reported in TeamCity.
What version of Cake are you using?
0.15.2
Are you running on a 32 or 64 bit system?
64
What environment are you running on? Windows? Linux? Mac?
Windows
Are you running on a CI Server? If so, which one?
TeamCity 9.1.1
How Did You Get This To Happen? (Steps to Reproduce)
Upgrade from NUnit.ConsoleRunner v3.2.1 to 3.4.1
The text was updated successfully, but these errors were encountered: