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