Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

NUnit+ReSharper: How to view results for TestFixture with different parameters?

Tags:

I have written unit tests under NUnit that use TestFixtures with different parameters. Now, when I run tests, I want to see with which parameters test has been passed and with which hasn't. Unfortunately, ReSharper shows only "Test failed: Child test failed" and no more information. Is there any way to see which parameters have caused test failure?

Thanks!

like image 257
levanovd Avatar asked May 17 '10 09:05

levanovd


1 Answers

I e-mailed JetBrains about this and received the following response from Andrey Serebryansky on July 9th, 2010:

This issue will be addressed in the next ReSharper release.

I believe the current release at the time of this writing is 5.1.


EDIT:

Based on comments by @Damien McGivern and @zcrar70

The issue is here, and it is fixed in the Resharper internal build.

However according to Victor Kropp (at the above link):

These changes will NOT be included in 5.1 due to technical reasons.

and when asked what the release date would be the response was (as of August 3, 2010):

I'm sorry, our roadmap is not yet established. I really don't know.

EDIT2:

More answers from Victor Kropp:

Q. Is there any update on a time line for when this will be in a release or nightly build that we can use?

A. ReSharper 6.0 EAP is expected to start before the end of year. I don't know actual date now.

Q. Will this bug fix be available in any release before 6.0?

A. No, sorry.

EDIT3:

I just tested this with the Resharper 6 EAP (build 2101) and it looks like they did a rather nice job of fixing this issue.

I haven't played around with it too much yet but so far I like what I see.

like image 92
Lawrence Johnston Avatar answered Dec 08 '22 01:12

Lawrence Johnston