Another COde COverage for ruby 1.9 (from the famous post of Aaron Patterson). This one suits my needs.
Use it from rspec with a simple require 'coco'
Display filenames covered < 90% on console
Build simple html report only for files covered < 90%
Report sources that have no tests
Configuration could be done via a simple yaml file
Colorized console output (*nix only)
Note: I have tested coco only on debian linux. I have not tested it with the test/unit framework.
at the beginning of your tests, usually in a *helper*.rb file.
See the wiki for more information on using coco.
To generate the developper's documentation in YARD format:
ruby >= 1.9.2
GPLv3, see COPYING.
Questions and/or Comments
Feel free to email Xavier Nayrac with any questions.