coco

Code coverage for Ruby 2.x

Download from Github

Sample index report

Version 0.15.0

released on 2017-02-27

Usage

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

Config

Configuration is done via a YAML file.

Sample config for a Rails project

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

Download from Github

MIT License

@lkdjiin