Beispiel #1
0
 public static void RunTests(Assembly library)
 {
     Runner runner = new Runner();
       runner.Start(new ConsoleReport(library.FullName));
       runner.run(library);
       runner.Stop();
 }
Beispiel #2
0
 public static void RunTests(Type type)
 {
     Runner runner = new Runner();
       runner.Start(new ConsoleReport(type.Name));
       runner.run(type);
       runner.Stop();
 }
Beispiel #3
0
 static void Main(string[] args)
 {
     Runner runner = new Runner();
       runner.Start(new JUnitReport("Unknown"));
       foreach (string arg in args) {
     if (arg.StartsWith("-")) {
       runner.parseOption(arg);
     } else {
       Assembly library = Assembly.LoadFile(arg);
       runner.run(library);
     }
       }
       runner.Stop();
 }