Integration w/ Team City

Integration w/ Team City

Team City automatically runs your NUnit tests (through a task when using msbuild) and automatically shows results and responds to failures/ignores in its dashboard. In order to integrate NCover, you need to use the NCover msbuild task, generate reports, then manually link them as artifacts in Team City. The tests that run through NCover, however, are no longer integrated w/ Team City. To do this you end up having to run the tests twice. It would be nice if this was better integrated.


RE: Integration w/ Team City

So if you run NCover to get coverage, you'd like to see not only the coverage stuff in TeamCity, but also be able to see which tests passed and failed?

Stephen


RE: Integration w/ Team City

Here is a sample for the output in TeamCity: http://teamcity.jetbrains.com/viewLog.html?tab=buildResultsDiv&buildTypeId=bt6&buildId=15035

You can also see details about the test run at http://teamcity.jetbrains.com/viewLog.html?buildId=15035&buildTypeId=bt6&tab=testsInfo

TeamCity have their own task replacing the NUnit task from MSBuild contrib, so I don't think the detailed information is right out of the box for the MSBuild NUnit task.

Bjørnar


RE: Integration w/ Team City

I came across a forum post where they do a decent job of describing how to integrate build scripts and test suites into TeamCity. Link is here: http://stackoverflow.com/questions/3143/use-teamcity-to-summarize-mbunit-tests-results-and-include-html-report

As well as the TeamCity documentation here: http://www.jetbrains.net/confluence/display/TCD3/Build+Script+Interaction+with+TeamCity