Duplicate tests showing up in Unit Test Sessions window

I'm seeing my tests being listed twice in the Unit Test Sessions window.  I suspect it's also running each test twice too.

I've cleared R#'s cache, and restarted VS, and removed the tests from the window.  But when I re-run the folder, the tests show up twice again.

Anything I can do to fix this?

0
4 comments

I found that if I disable MsTest support in ReSharper's options, I now only see one copy of the tests.

Guess R# is trying to run it both as NUnit and MsTest?

2

I also found that disabling MSTest support fixed the issue of duplication (which also seemed to result in a lot of Inconclusive test not run errors).

0
Avatar
Permanently deleted user

Disabling the MsTest support updated the tests but didn't solved the problem. Each time I run the tests it adds another copy of them. I suspect that R# has problems with xUnit's ClassData.

0

Hello @...,

 

Sorry for such a delay in responding.

Is there any chance you could provide us sample solution that demonstrates the problem? You can share it privately via "Submit a request" form at the top of the page.

Thank you.

0

Please sign in to leave a comment.