10
votes

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?

2

2 Answers

7
votes

See:

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

enter image description here

Available in ReSharper 6, see here.

2
votes

I've created an issue in ReSharper's JIRA for it: RSRP-140757