The current implementation of the UTF for Windows Phone does not support inclusion of tests from assemblies outside the test project; all tests must reside in the Windows Phone test project.
When this shortcoming is rectified, if you want to have a single project for testing and include other test assemblies, add assemblies to the
TestAssemblies collection of the
UnitTestSettings class, as shown:
UnitTestSettings settings = UnitTestSystem.CreateDefaultSettings();settings.TestAssemblies.Add(typeof(TestClass1).Assembly);settings.TestAssemblies.Add(typeof(TestClass2).Assembly);UIElement testPage = UnitTestSystem.CreateTestPage(settings);