Code coverage for Ruby with a powerful configuration library and automatic merging of coverage across test suites. SimpleCov is a code coverage analysis tool for Ruby. It uses Ruby's built-in Coverage library to gather code coverage data, but makes processing its results much easier by providing a clean API to filter, group, merge, format, and display those results, giving you a complete code coverage suite that can be set up with just a couple lines of code. SimpleCov/Coverage track covered ruby code, gathering coverage for common templating solutions like erb, slim and haml is not supported. In most cases, you'll want overall coverage results for your projects, including all types of tests, Cucumber features, etc. SimpleCov automatically takes care of this by caching and merging results when generating reports, so your report actually includes coverage across your test suites and thereby gives you a better picture of blank spots.

Features

  • The official formatter of SimpleCov is packaged as a separate gem called simplecov-html
  • SimpleCov must be running in the process that you want the code coverage analysis to happen on
  • Run your full test suite to see the percent coverage that your application has
  • SimpleCov comes with built-in configurations
  • You could even track what kind of code your UI testers are touching if you want to go overboard with things
  • Configuration settings can be applied in three formats, which are completely equivalent

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow SimpleCov

SimpleCov Web Site

Other Useful Business Software
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New to Google Cloud? Get $300 in credits to explore Compute Engine, BigQuery, Cloud Run, Gemini Enterprise Agent Platform, and more.

Start your next project with $300 in free Google Cloud credit. Spin up VMs, run containers, query petabytes in BigQuery, or build agents with Gemini Enterprise Agent Platform. Once your credits are used, keep building with 20+ always-free tier products including Compute Engine, Cloud Storage, GKE, and Cloud Run functions. No commitment required—just sign up and start building.
Claim $300 Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of SimpleCov!

Additional Project Details

Programming Language

Ruby

Related Categories

Ruby Source Code Analysis Tool, Ruby Code Review Software, Ruby Code Coverage Tool

Registered

2022-05-19