We use TeamCity 6.5.1 to control the compilation, testing and deployment of our collections. So far, we have used TeamCity's NUnit Build Runner to run our tests with NUnit 2.5.8 and have been very successful.
http://confluence.jetbrains.com/display/TCD65/NUnit
All our tests are written in C # and .Net 4.0 using Visual Studio 2010. Test projects are compiled into an assembly that we reference through the TeamCity interface.
Now we are adding a new test project for UI tests that require the custom NUnit add-on, which we developed to extend our own NUnit feature. When running tests in a local development environment with NUnit 2.5.8 installed, we can put a custom addin in the NUnit addins directory. When NUnit boots up, our addon boots up automatically.
C: \ Program Files (x86) \ NUnit 2.5.8 \ bin \ net-2.0 \ addins
Using the NUnit Build Runner in TeamCity 6.5.1, we cannot see how to install our add-ons. Unlike NUnit’s own installation, TeamCity doesn’t seem to pick up the add-on, just placing it in a subdirectory of the NUnit installation.
Does anyone know how to install / use add using NUnit Build Runner? Existing documentation covers a NUnit command-line console runner that we are not using. We use the NUnit Build Runner as a method to run all of our tests, so it would be most ideal if we could support a standard testing mechanism.
Thanks!
source share