{"repo":"vladopajic/go-test-coverage","free":true,"listed":false,"github":"https://github.com/vladopajic/go-test-coverage","clone":"git clone https://github.com/vladopajic/go-test-coverage.git","description":"go-test-coverage is a tool designed to report issues when test coverage falls below a specified threshold","language":"Go","stars":236,"topics":["automation","ci","ci-cd","code-coverage","coverage-badge","coverage-diff","coverage-report","coverage-threshold","developer-tools","github-actions"],"license":"GPL-3.0","category":"dev-tools","readme_excerpt":"go-test-coverage go-test-coverage is a tool designed to report issues when test coverage falls below a specified threshold, ensuring higher code quality and preventing regressions in test coverage over time. Why Use go-test-coverage? Here are the key features and benefits: - Quick Setup : Install and configure in just 5 minutes. - Serverless Operation : No need for external servers, registration, or permissions. - Eliminates connectivity or server-related failures. - Data Privacy : All coverage checks are done locally, so no sensitive information leaks to third parties. - Learn more about information leakage risks. - Performance : Lightning-fast execution (e.g., 1 second on this repo). - Versatility : Can be used both locally and in CI pipelines. - Customizable : Extensive configuration options to fit any project's needs. - Stylish Badges : Generate beautiful coverage badges for your repository. - Coverage Diff : Detailed comparison of code coverage changes relative to the base branch. - Open Source : Free to use and contribute to! Usage You can use go-test-coverage in two ways: - Locally as part of your development process. - As a step in your GitHub Workflow. It’s recommended to utilize both options for Go projects. Local Usage Here’s an example Makefile with a check-coverage command that runs go-test-coverage locally: GitHub Workflow Here’s an example of how to integrate go-test-coverage into a GitHub Actions workflow: For detailed information about the GitHub Action, chec","default_branch":null,"files":null,"tree":[],"storefront":"/r/vladopajic","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/vladopajic/go-test-coverage/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."}