static TestResult RunTest(SelfTestAssembly asm, SelfTest test)
        {
            WriteHeader(string.Format("PHPVH Self Test: {0}", test.Name));
            Cli.WriteLine();
            RunNUnit(asm, test);

            return(ProcessTestResults(test));
        }
 static int RunNUnit(SelfTestAssembly asm, SelfTest test)
 {
     return(NUnit.ConsoleRunner.Runner.Main(new[]
     {
         asm.Assembly,
         test.Arg,
         "/nologo",
         "/trace:Off",
         "/domain:none",
         "/out:TestResult.txt",
         "/err:TestErr.txt",
     }));
 }
        static TestResult RunTest(SelfTestAssembly asm, SelfTest test)
        {
            WriteHeader(string.Format("PHPVH Self Test: {0}", test.Name));
            Cli.WriteLine();
            RunNUnit(asm, test);

            return ProcessTestResults(test);
        }
 static int RunNUnit(SelfTestAssembly asm, SelfTest test)
 {
     return NUnit.ConsoleRunner.Runner.Main(new[]
     {
         asm.Assembly,
         test.Arg,
         "/nologo",
         "/trace:Off",
         "/domain:none",
         "/out:TestResult.txt",
         "/err:TestErr.txt",
     });
 }