Exclude NUnit categories when running tests

Is there any way to specify to NUnit to exclude certain categories of tests when running through finalbuilder?

I have some tests which I do not want to run on every build. I know I can specify categories using the nunit command line app, but I want to use the nunit action in finalbuilder so I get all the test statistics and with that action I cannot see how to specify which categories to run.

Thanks

Andrew

We don’t have built in support for this (I will add it to the todo list), however you can set this in the Action Properties inspector tab, there are two properties, “Extra Params at End”, and “Extra Params at Start”.

This page has the format of the command line parameters you need to add :

http://www.nunit.org/index.php?p=consoleCommandLine&r=2.5

Thanks, I actually never realised those properties exist ,

I will give it a try..

Ok, the reason I never realised those properties exist is because they don't.

I have Fixture, XMLOutput File, Transform File, Don't display Logo, Display XML in output, Project configuration and Fail if no tests run.

Am I missing something? (I'm in v6.3, Professional edition)

Thanks

Andrew

Hi Andrew

These are the properties I was referring to :

nunit.jpg

Many thanks,

I was looking in the wrong place, my bad.

Seems to work perfectly, thanks again.

Andrew