The SimpleCov homepage
Score7.1
Rank#4 of 26
PriceFree
Free planYes
Runs onLinux, macOS, Web, Windows

Summary

SimpleCov measures Ruby code coverage using Ruby’s built-in Coverage library. It can produce HTML and JSON reports, merge results from multiple test suites, and track line, branch, method, oneshot-line, and eval coverage. Configuration includes filters, groups, profiles, and thresholds. Optional test tracking links covered lines to RSpec examples or Minitest tests, while oneshot coverage can record which code production use reaches. Its command line includes report viewing, test selection, patch coverage, history, status, and badge commands. The Rails profile can add ERB, Haml, and Slim templates to reports. SimpleCov can also calculate coverage for changed lines and enforce a minimum threshold. The project says it is built in CI on Ruby 3.2+ and JRuby 10+, with line coverage only on JRuby. To track application files, SimpleCov must start before application code is required. It is free and MIT licensed.

Who it is for

SimpleCov suits Ruby developers who need coverage reports, thresholds, or a view of which tests cover particular lines. Its Rails profile may also suit projects that include ERB, Haml, or Slim templates.

What is good

  • Free and MIT licensed
  • HTML and JSON reports
  • Supports line and branch coverage
  • Can gate changed-line coverage

What to know first

  • Must start before application code is required
  • JRuby supports line coverage only

Verdict

SimpleCov offers configurable Ruby coverage reporting, test mapping, and change-coverage gates. Account for its startup requirement and JRuby coverage limitation when setting it up.

SimpleCov plans and pricing

All plans
SimpleCov Free Ruby code coverage · MIT licensed github.com · 30 Sept 2026

Compared on test coverage tools

Free plan
Yesgithub.com
Coverage types
line, branch, method, oneshot-line, evalgithub.com
Supported languages
Rubygithub.com
Report formats
HTML, JSONgithub.com
Historical trends
Yesgithub.com
Coverage gates
Yesgithub.com

Facts

Purpose
SimpleCov analyzes Ruby code coverage using Ruby’s built-in Coverage library.github.com · 30 Sept 2026
Reports
It includes HTML and JSON formatters and can merge coverage results across test suites.github.com · 30 Sept 2026
Configuration
Configuration supports filters, groups, profiles, line and branch coverage, and coverage thresholds.github.com · 30 Sept 2026
Test mapping
Opt-in test tracking can show which RSpec examples or Minitest tests cover a line.github.com · 30 Sept 2026
Production usage
Oneshot coverage can record production code usage for identifying code that tests or live traffic do not touch.github.com · 30 Sept 2026
Change coverage
The CLI can calculate coverage for changed lines and use a minimum threshold as a gate.github.com · 30 Sept 2026
View templates
With the Rails profile, it can include ERB, Haml, and Slim templates in coverage reports.github.com · 30 Sept 2026
CLI
The command line includes report viewing, test selection, patch coverage, history, status, and badge commands.github.com · 30 Sept 2026
Integrations
The README points to open source formatter and integration plugins, editor integrations, and hosted commercial services.github.com · 30 Sept 2026
Compatibility
The project says it is built in CI on Ruby 3.2+ and JRuby 10+; JRuby supports line coverage only.github.com · 30 Sept 2026
Setup constraint
SimpleCov must start before application code is required to track those files.github.com · 30 Sept 2026
Support
The project directs users to its issue tracker for code and bug reports and its Google Groups mailing list for discussion and announcements.github.com · 30 Sept 2026
License
The repository identifies SimpleCov as MIT licensed.github.com · 30 Sept 2026
Security and compliance
The repository page shows a Security and quality section but states no security certification or compliance standard in the README.github.com · 30 Sept 2026

Best SimpleCov alternatives

See all 12

Where it ranks on Everything Xiaomi

Is SimpleCov yours?

Claim it for free: prove the domain, then correct facts, plans and screenshots. An editor reviews every change.

Sources