NUnit test cases

Answered

It seems like in R# 10 the description of an NUnit test case isn't presented in the output pane when the test case fails.
This makes it very hard to determine what test case failed when you have a lot of test cases in a test.To make matters worse, the test cases presented in the "Unit test sessions" window is not in the same order as they are declared in the test.

4 comments
Comment actions Permalink

Hello Robert,

Please specify exact R# version installed on your machine - ReSharper | Help | About JB ReSharper Ultimate. 

Thanks! 

0
Comment actions Permalink

2016.1.20160414.155411

0
Comment actions Permalink

Robert,

  1. ReSharper shows parameters of tests in Test Tree in Unit Test Session tab, so we do not see a problem to find out which test was failed. 
  2. You may use TestName parameter in TestCase attribute to distinguish failed tests

Thanks! 

 

0
Comment actions Permalink

Ahh, TestName works fine. Thanks.

0

Please sign in to leave a comment.