https://github.com/behnambm/gocover
https://github.com/behnambm/gocover
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/behnambm/gocover
- Owner: behnambm
- Created: 2023-08-01T09:03:41.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-28T06:53:53.000Z (almost 2 years ago)
- Last Synced: 2025-01-11T23:47:05.533Z (5 months ago)
- Language: Go
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GoCover - Simplifying Test Coverage for Go Projects
GoCover is a tool designed to simplify the process of fetching, cloning, executing tests, and generating comprehensive test coverage reports for Go projects.
Whether you're dealing with a Git repository or a local codebase, GoCover empowers you with an effortless and efficient way to manage your test coverage.## Features
- **Effortless Coverage:** GoCover automates the entire process of fetching a Git repository, running tests, and generating comprehensive coverage reports.
- **User-Friendly Interface:** GoCover provides a web page to show the coverage which simplifies the identification of uncovered segments within your codebase.
- **Remote and Local Support:** Whether you're dealing with a remote repository or working with local code, GoCover has you covered.
## Installation
```bash
go install github.com/behnambm/gocover@latest
```## Usage
#### Remote repo:
```bash
gocover -url https://github.com/labstack/echo.git
```#### Local code:
##### Relative path
```bash
gocover -path .
```or
##### Absolute path
```bash
gocover -path /home/user/go/src/github.com/labstack/echo
```## Visual Output
This is an example of what you will see in your browser:

## Todo
- [ ] Refactor the code
- [ ] Add support for private repositories