CoverageReporter::Parser
Inherits Reference / Object
General parser that can do the following:
- Automatically find coverage report files.
- Parse coverage report files and return the format that Coveralls API requires.
New parsers can be easily added. See BaseParser for details.
Constants
PARSERS = {CloverParser, CoberturaParser, JacocoParser, GolangParser, CoveragepyParser, CoverallsParser, LcovParser, SimplecovParser, GcovParser}
A list of available parsers.
See CoverageReporter::BaseParser for details.
Constructors
new(coverage_files : Array(String) | Nil, coverage_format : String | Nil, base_path : String | Nil)
SourceInstance methods
base_path
Sourcecoverage_files
Sourcecoverage_format
Sourceparse
Sourceparsers
Source