Coco icon

Coco For Linux

  n/a
GPL v3    

This Open Source project provides a code coverage utility for both Ruby and Rails. #Code coverage  #Ruby code coverage  #Rails code coverage  #Ruby  #Code  #Coverage  

Softpedia Review

specifications

changelog

Free Download

Review by:
4.0/5

Coco is an open source and free command-line software implemented in Ruby and designed from the offset to be used by Ruby developers as a code coverage utility. It is easy to setup, works with Rails, it’s fully configurable, and provides console-based and simple HTML reports.

Key features include support for Ruby 1.9.2, Ruby 2.0 and Ruby 2.1, easy configuration through an YAML file, support for UTF-8 encodings, colorized console output, support for displaying names of uncovered files on console, support for generating simple HTML reports for uncovered files, support for reporting sources that don’t have tests, as well as support for rspec.

The easy way to install Coco on your GNU/Linux operating system, is to use the ‘gem install coco’ command, considering the fact that you have Ruby installed. Another easy way to install Coco is to use the ‘gem coco’ command in your Gemfile.

If for some reason you can’t install Coco using the gem command, you can always get the latest version of the project from Softpedia, where it is distributed as a tarball (TAR archive). Save the package somewhere on your computer, unpack it, and open the Terminal app.

In the terminal emulator, navigate to the location of the location of the extracted archive files using the ‘cd’ command (e.g. cd /home/softpedia/coco-0.12.0) and run the ‘rake’ command to create the gem.

After installation, you will be able to add Coco at the beginning of your tests by including the “required 'coco'” line (without double quotes) in the spec_helper.rb or test_helper.rb files of your Ruby project.

Taking a look under the hood of Coco, we can notice that it has been written entirely in the Ruby programming language. The project is fully compatible with all distributions of Linux, supporting 64-bit (x86_64) and 32-bit (x86) flavors.

What's new in Coco 0.12.0:

  • Allows display of file whose coverage is more than threshold in the console.
  • Highlights hitted lines on mouse over in the HTML report.
Read the full changelog
User Comments
This enables Disqus, Inc. to process some of your data. Disqus privacy policy

Coco 0.12.0

add to watchlist add to download basket send us an update REPORT
  runs on:
Linux
  filename:
v0.12.0.tar.gz
  2 screenshots:
Coco - A sample index report created using CocoCoco - A sample file report created using Coco
  main category:
Programming
  developer:
  visit homepage