Merge NUnit results.

Hi.
We are running our builds via NAnt
(easier as we are determining whether to switch from CC.Net)

This includes NUnit tests which we run via an task running nunit-console. (We do this because we have multiple frameworks installed on the build agent and the ]]> task seems to only execute with the host framework regardless of the target framework)

How can I get TeamCity to recognize the nunit-console resulting xml?
The best I can get is resulting xml showing up as artifacts.

Thanks.

2 comments

Hello Scott,

TeamCity provides patched version of nunit2 task with logging support.
If you use some other way to run tests - no test information will be sent
to server as test results.

Could you please submit it to our Jira at http://www.jetbrains.net/jira.
What way do you want TC to get nunit-console xml files?

As a work around please try using NUnitRunner1.1.exe and NUnitRunner2.0.exe
from /plugins/dotNetPlugin/bin To start it do the following: NUnitRunner1.1.exe ]]> Assemblies
list to test separated by ';'
where
agentUrl is http://localhost:${idea.build.agent.port}/RPC2
buildId is ${idea.build.server.build.id}

Those nant properties is set be the TeamCity runner.



--
Eugene Petrenko
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Hi.
We are running our builds via NAnt
(easier as we are determining whether to switch from CC.Net)
This includes NUnit tests which we run via an <exec> task running
nunit-console.

(We do this because we have multiple frameworks installed on the build
agent and the <nunit2> task seems to only execute with the host
framework regardless of the target framework)

How can I get TeamCity to recognize the nunit-console resulting xml?
The best I can get is resulting xml showing up as artifacts.

Thanks.



0

I was looking for something very similar, a way to display unit-test status from tests run by my own NAnt script. The workaround works as advertised, very nice!

]]>
<arg value="$" />
</exec>
</target>

0

Please sign in to leave a comment.