R – How to get ReSharper to ignore certain categories when running all tests

nunitresharperunit testingvisual-studio-2008

I've got about 650 NUnit tests in my current solution in VS2008, but 40 of these are categorized either as "LongRunning" or "Integration". I do not want these to run every time I've done a change and run my test-suite (only when I specifically ask for it, and on the CI at set times).

Setting this up with TestDriven.Net is a cinch:
Tools -> Options -> TestDriven.Net -> Exclude tests in categories

I would like to use the nice UI that comes with ReSharper, though. I've not found any way of setting up ReSharper not to run certain categories.

Has anyone done this? Can it be done?

Best Answer

See:

ReSharper | Options | Unit Testing | General | Skip tests from categories

enter image description here

Available in ReSharper 6, see here.

Related Topic