No release in over 3 years
Low commit activity in last 3 years
Markdown formatter for simplecov
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

Runtime

 Project Readme

SimpleCov Markdown Formatter

Gem Version CI

Adds a report in markdown format. This can be useful in CI context or for LLMs.

Install

gem install simplecov-markdown

Usage

require 'simplecov-markdown'
SimpleCov.formatter = SimpleCov::Formatter::MarkdownFormatter

if you want to configure multiple formatters:

SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new([
                                                                 SimpleCov::Formatter::HTMLFormatter,
                                                                 SimpleCov::Formatter::MarkdownFormatter
                                                               ])

Alternatives

LLMs and CI environments work well also with simplecov-console.

Changelog

1.1.0

  • Support branch coverage

1.0.0

  • Sorted results by coverage — files are now sorted ascending by coverage percentage, so the least covered files appear first
  • Missing line numbers — the report now includes a "Missing line numbers" column listing the exact line numbers not covered, instead of just a count
  • Revised table columns — columns reordered and renamed: Coverage, File, Total lines, Total missed, Missing line numbers
  • Ruby 4.0 support — tested against Ruby 3.2, 3.3, and 4.0 via GitHub Actions CI
  • Dropped legacy dependencies — removed coveralls, rspec-temp_dir, and loosened bundler/rake version constraints

0.2.0

Initial release by holyshared.