Getting Nunit Team City Runner to Ignore Certain Test Categories

Hi, I am using the Nunit task that comes with the MSBuild Community tasks project in Team City. Everything is working really well but the Attribute "ExcludeCategory" is not being picked up by the Team City Nunit Runner (NUnitLauncher2.0.exe). I understand that this is because the Nunit Team City Runner doesn't understand the attribute "ExcludeCategory". Here's the output in the log:

: [Target "Test" in project "CruiseV2.0.msbuild.teamcity.patch.proj"] Value from NUnit task attribute ExcludeCategory has been ignored because TeamCity NUnit task is used.

So my question is this...how do I get the NUnitLauncher2.0.exe to Ignore some of my tests cased on category. I wonder if there is a way I can configure the NUnitLauncher2.0.exe so that I can ignore certain categories, maybe the answer is to figure out how to change the command line paramaters of the version Nunit that NUnitLauncher2.0.exe uses.

Has anyone run into this before?

Thanks and Merry Xmas (if that is your sort of thing).

--
Matt.

1 comment

Hello,
Thank you for request and sorry for delay. What version of NUnit do you
expect to be used?

I have added new issue for that at http://www.jetbrains.net/jira/browse/TW-4299

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

Hi, I am using the Nunit task that comes with the MSBuild Community
tasks project in Team City. Everything is working really well but the
Attribute "ExcludeCategory" is not being picked up by the Team City
Nunit Runner (NUnitLauncher2.0.exe). I understand that this is because
the Nunit Team City Runner doesn't understand the attribute
"ExcludeCategory". Here's the output in the log:

: [Target "Test" in project
"CruiseV2.0.msbuild.teamcity.patch.proj"] Value from NUnit task
attribute ExcludeCategory has been ignored because TeamCity NUnit task
is used.

So my question is this...how do I get the NUnitLauncher2.0.exe to
Ignore some of my tests cased on category. I wonder if there is a way
I can configure the NUnitLauncher2.0.exe so that I can ignore certain
categories, maybe the answer is to figure out how to change the
command line paramaters of the version Nunit that NUnitLauncher2.0.exe
uses.

Has anyone run into this before?

Thanks and Merry Xmas (if that is your sort of thing).

--
Matt.



0

Please sign in to leave a comment.