public static void RunTests(Assembly library) { Runner runner = new Runner(); runner.Start(new ConsoleReport(library.FullName)); runner.run(library); runner.Stop(); }
public static void RunTests(Type type) { Runner runner = new Runner(); runner.Start(new ConsoleReport(type.Name)); runner.run(type); runner.Stop(); }
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(); }