Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/behnambm/gocover
https://github.com/behnambm/gocover
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/behnambm/gocover
- Owner: behnambm
- Created: 2023-08-01T09:03:41.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-28T06:53:53.000Z (about 1 year ago)
- Last Synced: 2024-04-16T00:18:59.787Z (7 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:
![image](https://github.com/behnambm/gocover/assets/26994700/a22deb1e-072c-4e9a-9467-035cdd18ced3)
## Todo
- [ ] Refactor the code
- [ ] Add support for private repositories