When using ReSharper's test-running to run NUnit unit tests, if I have multiple TestCase attributes for a single test method, and the test fails for some of those test cases - it doesn't show what what the failure was - usually. Is there a way to achieve this? It is a very tedious process to comment-out TestCases to narrow it down to the failing one, as it is. !
I'm using Visual Studio 2010 SP1 Ult, and ReSharper 5.1.3 NUnit is the latest version. I love the ability to run my unit-tests by right-clicking on a test class and selecting "Run Unit Tests".
Here is a simplified code-example for one of my unit-tests:
public void CharName_MyriadArgs(char ch, string expectedName)
string actualOutput = ch.CharName();
With more than one TestCase defined (as above), it usually (but not always) only says that it failed - not what the parameters were. Thus, I have to narrow it down by commenting out those TestCase lines, as shown above where I've commented out the 3rd TestCase. This is extremely time-consuming, as in some cases I have huge numbers of TestCases defined.
Is there a better way?
Attached are 2 screenshots - one showing failure information, the other not.