Пример #1
0
 public static void RunTests(Assembly library)
 {
     Runner runner = new Runner();
       runner.Start(new ConsoleReport(library.FullName));
       runner.run(library);
       runner.Stop();
 }
Пример #2
0
 public static void RunTests(Type type)
 {
     Runner runner = new Runner();
       runner.Start(new ConsoleReport(type.Name));
       runner.run(type);
       runner.Stop();
 }
Пример #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();
 }