dashingrocket / simplecov-cobertura

Ruby SimpleCov Cobertura Formatter
Apache License 2.0
52 stars 38 forks source link

Output coverage in terminal #10

Closed jessebs closed 3 years ago

jessebs commented 4 years ago

Gitlab recommends using simplecov-cobertura in their documentation. Elsewhere, they have recommended coverage regex parsing for badge creation, but simplecov-cobertura doesn't output what they're looking for. The HTML formatter does, though

HTML Output:

Coverage report generated for Unit Tests to /project/path/coverage. 67 / 67 LOC (100.0%) covered.

Cobertura Output:

Coverage report generated for Unit Tests to /Users/jbowes/temp/pagecheck/coverage/coverage.xml

Investigate adding the coverage to stdout for simplecov-cobertura