示例#1
0
 public void Select(Project project)
 {
     StopUpdating();
     dynamicAssembly = new AssemblyStarter(project.FilePath, true);
     Tests           = new List <string>(dynamicAssembly.GetTestNames());
     SelectTest(Tests[0]);
 }
 public void FindAllDeltaEngineTests()
 {
     using (var starter = new AssemblyStarter("DeltaEngine.Tests.dll", false))
         foreach (var test in starter.GetTestNames())
         {
             Console.WriteLine(test);
         }
 }
        public void FindAllGraphicsTests()
        {
            const string TestAssemblyFilename =
                @"c:\code\DeltaEngine\Graphics\Tests\bin\Debug\DeltaEngine.Graphics.Tests.dll";

            using (var starter = new AssemblyStarter(TestAssemblyFilename, false))
                foreach (var test in starter.GetTestNames())
                {
                    Console.WriteLine(test);
                }
        }