[1599] Unit test runner doesn't run tests

I've just moved from the R# 5.0 beta to build 1599 and find I'm unable to run any unit tests.  I can add my (MSTest) tests into a test session and tell the session to run, but I get a green spinny for a bit (while my code is compiling) and then it all stops.  None of my tests even moves to pending.  FYI my build completes with no errors, but with a few warnings.

Cheers,
John

0
7 comments

This issue is fixed in build 1600 which will be available soon.

0

This is still a problem in build 1602 using NUnit. The tests appear to run, then nothing happens. The Unit Tests Sessions window appears but all tests just have gray balls beside them.

0
Avatar
Permanently deleted user

You're describing exactly what I saw.  I downloaded build 1602 this morning and it has resolved my problem, but then I'm using MSTest tests.

0

Please, make sure you're using correct platform settings (x86/x64/Any CPU) in all test projects and all referenced assemblies.

0

Everything looks like it is set correctly, should I try 1603?

0

If I change my test project from Any CPU to x86 it works. I dont think I should have to do that though. All referenced projects are still set at Any CPU

0

If your test project's project platform is Any CPU it's started with test runner compiled to Any CPU too. On x64 machine it won't be able to load x86 assembly.

May be one of your projects references some third-party x86 assembly? Or may be it's loaded in runtime?

0

Please sign in to leave a comment.