Resharper test runner session retaining deleted xunit test cases

After I delete an xunit test case (by deleting the InlineData attribute), the test case continues to remain visible in the session. Creating a new session does not fix this. The only way to refresh the session window is to close Visual Studio and restart. The following image illustrates this (the test case using Function.Lower was deleted, yet the test continues to show up in the session window).

 

0
4 comments
Avatar
Permanently deleted user

Also need to add that right clicking on the test case and selecting Remove Selected Tests appears to remove the test. But if I then try to run all tests for the class, the deleted items reappear.

0

Hello Louise!

 

Thank you for contacting us.

Could you please specify what ReSharper version you are using?

I cannot reproduce the problem using the latest ReSharper 2018.2.3.

Thank you.

0
Avatar
Permanently deleted user

Hi Angelina, I'm using Resharper Ultimate 2018.1.3 with Visual Studio Community 2017 (version 15.8.28010.2016). For a long time I had no issue, it's only in the last four weeks or so that I've noticed this problem.

0

Thank you for the reply, Louise!

 

Could you please try ReSharper 2018.2.3 - https://www.jetbrains.com/resharper/download/, it contains some fixes for XUnit and InlineData.

Please let us know if the problem is still reproduced with new version.

Thank you.

0

Please sign in to leave a comment.