Problem running Unit Tests - MVVM RI VS2010

Topics: Prism v4 - Silverlight 4, Prism v4 - WPF 4
Jan 13, 2012 at 4:45 PM

When I attempt to run Test/Run/All Tests in Solution  or Tests in Current Context, the IDE reports that "No tests were run because no tests are loaded or the selected tests are disabled".

In the Configuration for the solution, all of the projects, including the tests are checked to Build.

Is there some other setting somewhere that I'm overlooking. I'd like to run the tests to learn a bit more about the implementation.


Jan 13, 2012 at 5:18 PM


As mentioned in the MVVM RI documentation:

To run the MVVM RI unit tests

  1. In Solution Explorer, right-click MVVM.Test, and then click Set as StartUp Project.
  2. Press F5. A browser window will open, and the tests will run after a couple of seconds.

As a side note, take into account that in the MVVM RI solution the test projects are named MVVM.Client.Test and MVVM.Questionnaires.Tests instead of MVVM.Test.

I hope you find this useful,

Damian Cherubini

Jan 13, 2012 at 5:38 PM

Thanks. I figured that I had missed something somewhere.