Exemplo n.º 1
0
Arquivo: Runner.cs Projeto: AxFab/amy
 public static void RunTests(Assembly library)
 {
     Runner runner = new Runner();
       runner.Start(new ConsoleReport(library.FullName));
       runner.run(library);
       runner.Stop();
 }
Exemplo n.º 2
0
Arquivo: Runner.cs Projeto: AxFab/amy
 public static void RunTests(Type type)
 {
     Runner runner = new Runner();
       runner.Start(new ConsoleReport(type.Name));
       runner.run(type);
       runner.Stop();
 }
Exemplo n.º 3
0
Arquivo: Runner.cs Projeto: AxFab/amy
 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();
 }