Code coverage for Ruby 2.x

Download from Github

Sample index report

Version 0.15.0

released on 2017-02-27


gem install coco

Require the coco library at the beginning of your tests

require 'coco'

Usually you do this only once, by putting this line in an spec_helper.rb, or test_helper.rb (or whatever you named it).

Sample file report


Configuration is done via a YAML file.

Sample config for a Rails project

- lib
- config/initializers
:always_run: false
:theme: light

Download from Github

MIT License