예제 #1
0
파일: Runner.cs 프로젝트: AxFab/amy
 public static void RunTests(Assembly library)
 {
     Runner runner = new Runner();
       runner.Start(new ConsoleReport(library.FullName));
       runner.run(library);
       runner.Stop();
 }
예제 #2
0
파일: Runner.cs 프로젝트: AxFab/amy
 public static void RunTests(Type type)
 {
     Runner runner = new Runner();
       runner.Start(new ConsoleReport(type.Name));
       runner.run(type);
       runner.Stop();
 }
예제 #3
0
파일: Runner.cs 프로젝트: 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();
 }