protected override Task <int> Execute() { OpenCoverReport.Execute(CoverageLoadedFileOption.GetValue(), OpenCoverOutputOption.GetValue(), ThresholdOption.GetValue()); var result = CalcUtils.IsHigherThanThreshold(CoverageLoadedFileOption.GetValue(), ThresholdOption.GetValue()); return(Task.FromResult(result)); }
protected override Task <int> Execute() { var consoleReport = new HtmlReport(HtmlOutputFolderOption.GetValue().FullName); var result = consoleReport.Execute(CoverageLoadedFileOption.GetValue(), ThresholdOption.GetValue()); return(Task.FromResult(result)); }
protected override Task <int> Execute() { OpenCoverReport.Execute(CoverageLoadedFileOption.GetValue(), OpenCoverOutputOption.GetValue(), ThresholdOption.GetValue()); return(Task.FromResult(0)); }
protected override Task <int> Execute() { var consoleReport = new ConsoleReport(); var result = consoleReport.Execute(CoverageLoadedFileOption.GetValue(), ThresholdOption.GetValue()); return(Task.FromResult(result)); }