public static void SpecFlowTestExecutionReport( this ICakeContext context, Action <ICakeContext> action, FilePath projectFile, SpecFlowTestExecutionReportSettings settings) { if (context == null) { throw new ArgumentNullException("context"); } if (settings == null) { settings = new SpecFlowTestExecutionReportSettings(); } // Create the DotCover analyser. var runner = new SpecFlowTestExecutionReporter( context.FileSystem, context.Environment, context.ProcessRunner, context.Globber); // Run DotCover analyse. runner.Run(context, action, projectFile, settings); }
protected override void RunTool() { var tool = new SpecFlowTestExecutionReporter(FileSystem, Environment, ProcessRunner, Globber); tool.Run(Context, Action, ProjectFile, Settings); }