- Now you can change the output directory. It's the coverage folder by default
as always, but it's customisable with the new
:output_directory
option.
- It's now possible to exit (with code status 2) from coco when the coverage
is less than a particular threshold. This feature allow the build to fail in
continuous integration. This behavior is controlled by the option
:exit_if_coverage_below
and is to 0 by default (that is it's not active).
- The coverage rate is now displayed in decimal format. So it's 12.34% instead of 12%. This change affect the console summary as well as the index page of the HTML report.
- Add a summary (rate of coverage, number of uncovered files and total number of files) in the HTML report and on the console.
- You can now view all files in the HTML report, even those equal to or above the threshold. This feature allow you to view the line's hit for every files.
- Add support for Ruby 2.3.
- Now you can choose between a dark theme and the (old) light one, for the HTML
report. The choice is made with a new configuration key :
:theme
. The default theme is the light one. - Add acceptance testing with Cucumber.
- [Experimental] Add support for head of MRI Ruby.
- [Experimental] Add support for Rubinius 2.x.
- [Experimental] Add support for (latest version of) JRuby.
- [Experimental] Add support for OSX.
- The single line report (on the console) is now the default behavior.
- The license is now MIT.
- Move contributors list in a file.
- Removed the license's mention in the reports's index.
- Removed the gems reek and flay from the development dependencies.
- The configuration key
directories
will be removed in a future version, the new key to use isinclude
. - The configuration key
excludes
will be removed in a future version, the new key to use isexclude
.
- Drop support for Ruby 1.9.3.
- Remove base path in index file of the HTML report for greater readability.
- Exclude spec and test folders by default from the coverage. It was weird to sometimes see test files reported.
- Improve the theme.
- In HTML report, highlight each lines of code, not only the green ones.
- Ligthen the first part of the path in the index file of the HTML report for greater readability.
- Allows display of file whose coverage is more than threshold in the console.
- Highlights hitted lines on mouse over in the HTML report.
- Properly escape HTML in report.
- Implements hit counters.
- Output warnings for deprecated features.
- Development/test
- Improve documentation for developers.
- Add Rake tasks for documentation.
- Fix a random failing test
- Remove command line garbage after tests
- Update developer dependencies
- Drop support for Ruby 1.9.2.
- Add some rake tasks for development.
- Add a «Contributing» section in the README.
- New configuration option:
always_run
, to control when to start coco and when to not start it. - Add link in the terminal.
- New configuration option:
show_link_in_terminal
, to display the report's index page URI in the terminal. - Partially converts developer's documentation in tomdoc format.
- Update gemspec for ruby version 2.1
- Html report
- Improve appearance of index page.
- Emphasize filenames in index page.
- No longer needs css files fro Yahoo.
- Improve appearance of index page.
- Bugfix: Html files now have a doctype.
- Bugfix: Output a nicer message on bad config
- Bugfix: Threshold misspelling. Preserving compatibility for the "threeshold" spelling too.
- Bugfix:
single_line_report
option is now silent if there is nothing to report - Improve report styling (a bit)
- Default threshold is now 100%
- Config file is renamed to '.coco.yml', to benefit of syntax highlighting
- Added an option
single_line_report
- Fix a bug where excluding a whole folder from the report does not worked
- can exclude a whole folder of ruby files from the report
- works with unit/test framework
- Fix bug #14 Sometimes text exit on the right from table in html report
- Fix bug #13 '<' and '>' are not escaped in hml report
- Fix bug #12 No link to web site in html files
- Quick fix, add forgotten images for html menu
- Add colors to console output (nix only)
- It can exclude unwanted files from the report
- Report sources not covered at all
- Configurable via a simple yaml file: threshold and source directories
- UTF-8 compliant
- Misc: sort index.html and console output by percentage, Display version in index.html
- Use coco from rspec with a simple require 'coco'
- Display filenames covered < 90% on console
- Build simple html report only for files covered < 90%