I am currently working on a project in Visual Studio 2010 that uses MSTest for Silverlight. I recently converted this project from Visual Studio 2008, where Silverlight-based tests ran without problems. However, when I try to run unit tests in the scope of the test class (or beyond, that is, "Run all tests") in VS 2010 using TestDriven.NET, I get the following error:
The target type does not contain tests from a known test environment or the Home method.
If the test does not require any installation method or constructor, TestDriven.NET will run a separate test. It seems to me that for some reason it does not execute the test method [TestInitialize].
Any thoughts?
source
share