CheckOps
SimpleCov
SimpleCov is an MIT-licensed code coverage analysis tool for Ruby, built on Ruby's Coverage module, with HTML reports, branch coverage, groups, filters and minimum coverage thresholds.
Latest public signals
Not refreshed yet. Refresh reads the public site and, when the entry has a GitHub repository, the latest release.
Introduction
SimpleCov is the standard code coverage tool for Ruby. It uses Ruby’s built-in Coverage library to gather data while your tests run, and adds a configuration API and reporting on top, so you can see which lines and branches your RSpec, Minitest or Cucumber suites exercise.
Setup is a two-line addition at the very top of your test helper: require "simplecov" and SimpleCov.start (with a "rails" profile available for Rails apps). The default HTML formatter produces a browsable report in coverage/index.html. Configuration covers filters to exclude paths, groups to organise the report (models, controllers and so on), branch coverage (enable_coverage :branch), merging results from multiple test suites or parallel processes, and minimum_coverage or minimum_coverage_by_file thresholds that fail the build. Community formatters output LCOV, Cobertura and JSON for CI services. Version 1.3.2 was released on 30 September 2026.
The source code is at simplecov-ruby/simplecov on GitHub under the MIT licence, with about 4,900 stars; the most recent commit was on 10 November 2026.
Features
- Easy setup: Two lines in your test helper.
- HTML report: Browsable line and branch coverage.
- Thresholds:
minimum_coveragefails builds below target. - Merging: Combine results across suites and parallel runs.
Pros
- Free to use: Open source under the MIT licence, so the core tool costs nothing to use.
- Actively maintained: The repository had commits as recent as 10 November 2026.
- Community: About 4,900 GitHub stars.
Cons
- Must load first: Starting SimpleCov after app code loads gives wrong results.
- Extra formatters for CI: LCOV or Cobertura output needs add-on gems.
Usage and Links (Example)
# spec/spec_helper.rb or test/test_helper.rb (first lines)
require "simplecov"
SimpleCov.start "rails" do
enable_coverage :branch
minimum_coverage line: 90, branch: 80
add_filter "/vendor/"
add_group "Services", "app/services"
end
bundle exec rspec # open coverage/index.html
Resources:
Pricing
SimpleCov is free and open source under the MIT licence.
Recommended for?
- Every Ruby project that wants coverage visibility.
- CI pipelines enforcing coverage thresholds.
Conclusion
SimpleCov is the essential Ruby coverage tool, easy to set up and flexible enough for large Rails applications.
Alternatives
Other tools on CheckOps that cover similar ground. Open a page, or compare one with SimpleCov side by side.
RRSpecRSpec is the MIT-licensed behaviour-driven testing framework for Ruby, made up of rspec-core, rspec-expectations and rspec-mocks, and widely used with Rails via rspec-rails.Compare with SimpleCov
MMinitestMinitest is an MIT-licensed, fast and lightweight Ruby testing library providing xUnit-style tests, a spec DSL and benchmarks; it is the default testing framework in Ruby on Rails.Compare with SimpleCov
CCodecovCodecov by Sentry is a code coverage reporting service that shows coverage for any language, CI and code host in pull request comments and dashboards, with flags, carryforward, test analytics for flaky tests and AI test generation.Compare with SimpleCov
CCoverallsCoveralls is a hosted code coverage history and statistics service that integrates with your CI to report repository, file and line-by-line coverage with pull request notices; free for open source with paid plans for private repos.Compare with SimpleCov
MMutantMutant is a mutation testing tool for Ruby that semantically changes code and checks your RSpec or Minitest tests detect it; it is free for open source and requires a paid subscription for commercial use.Compare with SimpleCov
Ffactory_botfactory_bot is thoughtbot's MIT-licensed Ruby library for setting up test data with factories, sequences, traits and associations, used with RSpec, Minitest and Rails via factory_bot_rails.Compare with SimpleCov