SimpleCov
github.com
- Free plan
- Windows
- macOS
- Linux
- Web
What SimpleCov is
SimpleCov measures Ruby code coverage through Ruby’s built-in Coverage library. It produces HTML and JSON reports, merges results across test suites, and supports line, branch, method, oneshot-line, and eval coverage. Configuration includes filters, groups, profiles, and thresholds. Optional test tracking can connect covered lines to RSpec examples or Minitest tests, while oneshot coverage records production code use. Its command line includes tools for viewing reports, selecting tests, patch coverage, history, status, and badges. Changed-line coverage can be calculated and gated by a minimum threshold. With the Rails profile, reports can include ERB, Haml, and Slim templates. The project says its CI builds use Ruby 3.2+ and JRuby 10+; JRuby supports line coverage only. SimpleCov must start before application code is required to track those files. It is free, MIT licensed, and supports Ruby. The project directs bug reports to its issue tracker and discussion or announcements to its Google Groups mailing list.
Who it suits
SimpleCov suits Ruby developers who want coverage reports, thresholds, or test-to-line mapping. Teams using JRuby should note that only line coverage is supported there.
Good to know, and what to watch
- Free and MIT licensed
- HTML and JSON reports
- Can merge coverage across test suites
- Changed-line coverage thresholds
- Rails profile includes template coverage
- Must start before application code is required
- JRuby supports line coverage only
Plans
Every plan and priceSimpleCov
Free plan
The verdict
SimpleCov offers a broad set of coverage options for Ruby projects, including reports, test mapping, and changed-line gates. Its startup requirement matters when configuring what application code gets tracked.
What the maker publishes
- Change coverage
- The CLI can calculate coverage for changed lines and use a minimum threshold as a gate. source
- CLI
- The command line includes report viewing, test selection, patch coverage, history, status, and badge commands. source
- Compatibility
- The project says it is built in CI on Ruby 3.2+ and JRuby 10+; JRuby supports line coverage only. source
- Configuration
- Configuration supports filters, groups, profiles, line and branch coverage, and coverage thresholds. source
- Integrations
- The README points to open source formatter and integration plugins, editor integrations, and hosted commercial services. source
- License
- The repository identifies SimpleCov as MIT licensed. source
- Production usage
- Oneshot coverage can record production code usage for identifying code that tests or live traffic do not touch. source
- Purpose
- SimpleCov analyzes Ruby code coverage using Ruby’s built-in Coverage library. source
- Reports
- It includes HTML and JSON formatters and can merge coverage results across test suites. source
- Security and compliance
- The repository page shows a Security and quality section but states no security certification or compliance standard in the README. source
- Setup constraint
- SimpleCov must start before application code is required to track those files. source
- Support
- The project directs users to its issue tracker for code and bug reports and its Google Groups mailing list for discussion and announcements. source
- Test mapping
- Opt-in test tracking can show which RSpec examples or Minitest tests cover a line. source
- View templates
- With the Rails profile, it can include ERB, Haml, and Slim templates in coverage reports. source
Checked against the maker's pages on 30 Sept 2026.