public void LaunchAndDoNothing() { ConsoleTester tester = new ConsoleTester("MbUnit.Gui.exe", "/close"); tester.ExpectedExitCode = 100; tester.Run(); System.Threading.Thread.Sleep(1000); }
public void RunTestsWithConsole() { ConsoleTester runner = new ConsoleTester( "MbUnit.Cons.exe", Path.Combine(directory, "ParentAssembly.dll") ); runner.Run(); }
public void SimpleProject() { // load project file ConsoleTester tester = new ConsoleTester( this.msbuildPath, @"Tasks\MSBuild\msbuild.sample1.xml" ); tester.Run(); }
public void MultipleSetOfAssemblies() { // load project file ConsoleTester tester = new ConsoleTester( this.nantPath, "-buildfile:Tasks/NAnt/nant.sample3.xml", "tests" ); tester.Run(); }
public void DifferentReports() { // load project file ConsoleTester tester = new ConsoleTester( this.nantPath, "-buildfile:Tasks/NAnt/nant.sample2.xml", "tests" ); tester.Run(); }
public void SimpleProject() { // load project file ConsoleTester tester = new ConsoleTester( this.nantPath, "-buildfile:Tasks/NAnt/nant.sample.xml", "tests" ); tester.Run(); }
// [Test] public void LaunchRunProjectCloseGui() { ConsoleTester tester = new ConsoleTester( "MbUnit.Gui.exe", "/run", @"Gui\demo.mbunit", "/close"); tester.ExpectedExitCode = 100; tester.Run(); System.Threading.Thread.Sleep(1000); }
public void LaunchRunParentAssenblyAndCloseGui() { ConsoleTester tester = new ConsoleTester( "MbUnit.Gui.exe", "/run", "ParentAssembly.dll", "/close"); tester.ExpectedExitCode = 100; tester.Run(); System.Threading.Thread.Sleep(1000); }