We have some classes which only contains integration tests.
It would be great if we could tag those classes with a custom attribute to tell ncrunch to only run one method at a time in the tagged class:
Code:
[TestClass]
[SomeSpecialAttributeToMakeNCrunchRunOneMethodAATime]
public class SomeIntegrationTests
{
[TestMethod]
public void SomeTest()
{
// I wont be run at the same time as sometest2 or any other method in this class
}
[TestMethod]
public void SomeTest2()
{
//....
}
}
The great thing with that is that all true unit tests will still run fast while all integration tests will still work.