tags:

views:

18

answers:

1

I'd like to be able to set a condition from which to decide whether certain tests run in NUNIT.

For example if a global variable x = 1 then only run the tests from a certain class/assembly or only run the first test.

Is anything like this possible?

How would one go about doing this?

Thanks!!

+2  A: 

I would recommend using Categories with your NUnit tests. This would allow you to run groups of them at a time, or all at once.

Chris Missal