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));
        }
Esempio n. 2
0
        protected override Task <int> Execute()
        {
            var consoleReport = new HtmlReport(HtmlOutputFolderOption.GetValue().FullName);
            var result        = consoleReport.Execute(CoverageLoadedFileOption.GetValue(), ThresholdOption.GetValue());

            return(Task.FromResult(result));
        }
Esempio n. 3
0
        protected override Task <int> Execute()
        {
            OpenCoverReport.Execute(CoverageLoadedFileOption.GetValue(), OpenCoverOutputOption.GetValue(), ThresholdOption.GetValue());

            return(Task.FromResult(0));
        }
Esempio n. 4
0
        protected override Task <int> Execute()
        {
            var consoleReport = new ConsoleReport();
            var result        = consoleReport.Execute(CoverageLoadedFileOption.GetValue(), ThresholdOption.GetValue());

            return(Task.FromResult(result));
        }