Visual Studio 2013 Tester not working

I am currently using the professional version. There seem to be 2 windows, Test Explorer and Unit Test session. I can run the test or all tests from my code (cs file) and see them in the Unit Test session window. When I try to run through the Test menu item or in the Test Explorer window, nothing happens and the tests do not start. Am I missing something? Is this a release issue?

+7
unit-testing visual-studio-2013
source share
2 answers

Just ran into the same problem.

Install nunit adapter for Test Explorer

(Search for "nunit adapter" in NuGet and this will be the first hit).

After installing the add-ons, click Run all again in the test explorer and voila: all nunit tests are detected.

+9
source share

Well, that may not be your business, but in my case I had a project β€œtest support classes” with a base class of tests among other structures, and one of my test projects referencing it had another version of Moq.

So Update-Package Moq for all projects resolved my problem.

0
source share

All Articles