Esempio n. 1
0
 static Action <XDocument> SaveReport(Options options)
 {
     return(report => ReportListener.Save(report, FullPath(options.Report)));
 }
Esempio n. 2
0
 ExitCode RunTests(Assembly assembly, Options options, string[] customArguments, PipeMessage.Test[] tests)
 {
     return(Run(assembly, options, customArguments,
                r => r.Run(tests.Select(x => new Test(x.Class, x.Method)).ToList())));
 }
Esempio n. 3
0
 List <Listener> GetExecutionListeners(Options options)
 {
     return(customListeners.Any() ? customListeners : DefaultExecutionListeners(options).ToList());
 }
Esempio n. 4
0
 ExitCode RunAssembly(Assembly assembly, Options options, string[] customArguments)
 {
     return(Run(assembly, options, customArguments, runner => runner.Run()));
 }