Exemple #1
0
 static Action <XDocument> SaveReport(Options options)
 {
     return(report => ReportListener.Save(report, FullPath(options.Report)));
 }
Exemple #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())));
 }
Exemple #3
0
 List <Listener> GetExecutionListeners(Options options)
 {
     return(customListeners.Any() ? customListeners : DefaultExecutionListeners(options).ToList());
 }
Exemple #4
0
 ExitCode RunAssembly(Assembly assembly, Options options, string[] customArguments)
 {
     return(Run(assembly, options, customArguments, runner => runner.Run()));
 }