unit tests not running in ReSharper unit test session explorer Follow
Hi, I'm developing a UWP app using VS Enterprise 2017 15.6.1 and ReSharper Ultimate 2017.3.3.
I wrote some unit tests and have no problems executing these tests via VS Test Explorer.
ReSharper unit session explorer shows me "Inconclusive: Test not run" for each test. The only error message is: "failed to register windows store application package".
Thanks for your help!
Please sign in to leave a comment.
And no comment from JetBrains in 7 months? DotCover is not able to do it's job if the tests won't run.
Please accept apologies for the missing respond.
Could you please specify ReSharper version you're experiencing problem with.
Could you please run Visual Studio with the following command line: 'devenv /ReSharper.LogFile C:\resharper_log.txt /ReSharper.LogLevel Verbose', reproduce the issue and send us a corresponding 'resharper_log.txt' file. You can submit it privately via 'Submit a request' form.
Thanks in advance.
The problem mentioned in the original post was fixed.
Unfortunately, there's a new issue with running MSTests in UWP projects in VS 2017: https://youtrack.jetbrains.com/issue/RSRP-471905, please follow it to track progress.
Do you have any changes?
@Fedor Buyvol-Kot: No, it wasn't fixed. I haven't been able to run unit tests for my UWP app for two years now, and I have been religiously keeping my Resharper up-to-date for three years now. And the bug tracker you link to marks it as fixed, so more salt in the wound there. Thanks.
I have never been able to get it to work with xUnit, so, sadly, I downgraded myself to using the MSTests framework which it would run under Resharper; but then a year and half to a couple of years ago it stopped working with MSTests, too.
Any project--even a freshly created one--and multiple workstations, so I am pretty sure the problem is not on my end unless there's some odd or hidden Resharper setting I'm not setting correctly or something.
@Alex Hi! I'm sorry to hear you had a negative experience with our unit tests runner. Unfortunately, I can't reproduce the problem with the latest ReSharper 2018.3.2 on some freshly created MSTest UWP projects. Could you please create a new issue report in YouTrack: https://youtrack.jetbrains.com/issues and provide the following details:
- Visual Studio and ReSharper versions which you are currently using
- Test project's Target Version and Min Version
- Ideally, a sample solution which will demonstrate the problem
Thank you in advance.