views:

150

answers:

2

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?

+1  A: 

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

kropp
Thanks! Let's hope they consider it worthwhile :)
Tomas
Be sure to click on his link and vote the feature up. More up votes = better chance of implementation.
Mike Post
+1  A: 

While not strictly what was asked for, the end result can be achieved by selecting the desired categories in ReSharper's (4.5) Unit Test Exporer (Group by: Categories) and running the selected tests.

This is also mentioned here: http://stackoverflow.com/questions/2379262/resharper-and-test-categories

Andrew Kimball