{"repo":"grodowski/undercover","free":true,"listed":false,"github":"https://github.com/grodowski/undercover","clone":"git clone https://github.com/grodowski/undercover.git","description":"undercover warns about methods, classes and blocks that were changed without tests, to help you easily find untested code and reduce the number of bugs. It does so by analysing data from git diffs, code structure and SimpleCov coverage reports","language":"Ruby","stars":842,"topics":["coverage","cli","linter","code-quality","test-coverage","hacktoberfest","ruby"],"license":"MIT","category":"dev-tools","readme_excerpt":"undercover warns about methods, classes and blocks that were changed without tests , to help you easily find untested code and reduce the number of bugs. It does so by analysing data from git diffs, code structure and SimpleCov coverage reports. Works with any Ruby CI pipeline as well as locally as a CLI. - Visit https://undercover-ci.com to set up code review checks with the GitHub App, or use one of the CI integrations - Learn how to find untested code changes locally with the CLI A sample output of undercover ran before a commit may look like this: And like this, given that specs were added: Installation Add this line to your application's Gemfile: And then execute: $ bundle Or install it yourself as: $ gem install undercover Setting up coverage reporting To make your specs or tests compatible with undercover , please add undercover to your gemfile to use the undercover formatter the test helper. Then run your test suite once through to generate the initial coverage file before you can run the undercover command. Upgrading from pre-0.7.0 If you're upgrading from an older version of undercover that used LCOV, you can migrate to the new SimpleCov formatter: 1. Add gem 'undercover' to your test group 2. Replace the LCOV formatter setup with the new SimpleCov formatter 3. Update CLI usage: Use --simplecov flag instead of --lcov , or rely on auto-detection of coverage/coverage.json Note: LCOV support will be deprecated in a future release, but remains fully functional for exist","default_branch":null,"files":null,"tree":[],"storefront":"/r/grodowski","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/grodowski/undercover/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}