Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hhatto/go-cover-coveragepy
https://github.com/hhatto/go-cover-coveragepy
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/hhatto/go-cover-coveragepy
- Owner: hhatto
- Created: 2024-02-11T15:24:32.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-06-10T08:58:43.000Z (5 months ago)
- Last Synced: 2024-06-21T14:29:12.405Z (5 months ago)
- Language: JavaScript
- Size: 959 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# go-cover-coveragepy
This tool outputs Go's coverage results in HTML report format in [coverage.py](https://coverage.readthedocs.io/en/).
The original HTML template used in this report is provided by coverage.py.
![](./static/img/image1.png)
![](./static/img/image2.png)## Installation
require Go 1.21+
```console
go install github.com/hhatto/go-cover-coveragepy@latest
```## Usage
```console
go-cover-coveragepy COVER.out
```The HTML of the report is output to the `htmlcov` directory.
This can be changed with the -o option:
```console
go-cover-coveragepy -o report_html COVER.out
```## License
Apache 2.0 License