0.0
No release in over a year
A custom SimpleCov formatter that displays table-formatted summaries of your coverage reports in the terminal. It prints the total coverage ratio of each source file, along with a compressed list of the uncovered lines.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

📊 simplecov-table

License Latest release

This is a custom SimpleCov formatter that displays table-formatted summaries of your coverage reports in the terminal. It prints the total coverage ratio of each source file, along with a compressed list of the uncovered lines.

────────────────────┬──────────┬──────────────────────────────────────
 Files              │ Coverage │ Uncovered lines
────────────────────┼──────────┼──────────────────────────────────────
 lib/foo.rb         │ 78.0%    │ 11,12,20-27
 lib/foo/bar.rb     │ 100.0%   │
 lib/foo/baz.rb     │ 33.5%    │ 3,5,63-75,122,128
────────────────────┴──────────┴──────────────────────────────────────

Installation

gem install simplecov-table

Usage

require 'simplecov'
require 'simplecov-table'

SimpleCov.formatter = SimpleCov::Formatter::TableFormatter
SimpleCov.start

Or, if you want to use several formatters:

require 'simplecov'
require 'simplecov-table'

SimpleCov.formatters = SimpleCov::Formatter::MultiFormatter.new([
  SimpleCov::Formatter::HTMLFormatter,
  SimpleCov::Formatter::TableFormatter,
])
SimpleCov.start

Changelog

See the full changelog here.

Contributing

Contributions are welcomed! Please open an issue before submitting substantial changes.

Related

License

ISC