class CoverageReporter::Reporter
- CoverageReporter::Reporter
- Reference
- Object
Defined in:
coverage_reporter/reporter.crConstructors
Instance Method Summary
- #base_path : String?
- #carryforward : String?
- #compare_ref : String?
- #compare_sha : String?
- #config_path : String?
- #coverage_file : String?
- #coverage_format : String?
- #dry_run : Bool
- #fail_empty : Bool
- #job_flag_name : String?
- #overrides : CoverageReporter::CI::Options?
- #parallel : Bool
-
#parallel_done
Reports that all parallel jobs were reported and Coveralls can aggregate coverage results.
- #repo_token : String?
-
#report
Parses the coverage reports in the current directory or the given coverage_file and sends the report to Coveralls API.
Constructor Detail
def self.new(base_path : String | Nil, carryforward : String | Nil, compare_ref : String | Nil, compare_sha : String | Nil, config_path : String | Nil, coverage_file : String | Nil, coverage_format : String | Nil, dry_run : Bool, fail_empty : Bool, job_flag_name : String | Nil, overrides : CI::Options | Nil, parallel : Bool, repo_token : String | Nil)
#
Instance Method Detail
def parallel_done
#
Reports that all parallel jobs were reported and Coveralls can aggregate coverage results.
Refers to a build via service_number
parameter which is either taken
from a CI-specific ENV, or can be set explicitly via COVERALLS_SERVICE_NUMBER
environment variable.
def report
#
Parses the coverage reports in the current directory or the given coverage_file and sends the report to Coveralls API.
If coverage_file is provided only its content will be parsed. Otherwise current directory will be searched for all supported report formats.