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
Field Service+ for MS Dynamics 365 & Salesforce Icon
Field Service+ for MS Dynamics 365 & Salesforce

Empower your field service with mobility and reliability

Resco’s mobile solution streamlines your field service operations with offline work, fast data sync, and powerful tools for frontline workers, all natively integrated into Dynamics 365 and Salesforce.
Learn More
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