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
Go from Data Warehouse to Data and AI platform with BigQuery Icon
Go from Data Warehouse to Data and AI platform with BigQuery

Build, train, and run ML models with simple SQL. Automate data prep, analysis, and predictions with built-in AI assistance from Gemini.

BigQuery is more than a data warehouse—it's an autonomous data-to-AI platform. Use familiar SQL to train ML models, run time-series forecasts, and generate AI-powered insights with native Gemini integration. Built-in agents handle data engineering and data science workflows automatically. Get $300 in free credit, query 1 TB, and store 10 GB free monthly.
Try BigQuery 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