TeamCity integration

34 views
Skip to first unread message

Mikael Henriksson

unread,
Jun 2, 2010, 8:19:30 AM6/2/10
to phantom-discuss
Jeremy,

How do you make the nunit reports to work with your teamcity? When
running the build as a "Command Line" build runner it just does not
work. What runner do you use for your Phantom builds?

Jeremy Skinner

unread,
Jun 2, 2010, 8:42:52 AM6/2/10
to phantom...@googlegroups.com
You need to set the enableTeamCity parameter to true on the nunit builtin, eg:

nunit(assembly: test_assemblies, enableTeamCity: true)

This makes use of the teamcity.dotnet.nunitlauncher environment variable that teamcity can optionally provide. By default, this environment variable does not exist so you will need to create it inside teamcity: http://confluence.jetbrains.net/display/TCD5/TeamCity+NUnit+Test+Launcher You'll need to set the environment variable's value to %system.teamcity.dotnet.nunitlauncher%

Jeremy
Reply all
Reply to author
Forward
0 new messages