coveragecollector

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 2, 2023 License: MIT Imports: 8 Imported by: 0

README

coveragecollector

A simple go binary for collecting coverage information from multiple packages.

Can outputt:

  • The total coverage across the entire codebase
  • The coverage of each individual package

Other uses cases can be more easily achieved using the standard tools at the moment

TODO

  • Add support for combining multiple coverage files

Documentation

Overview

The coveragecollector is a simple cli tool for print the total coverate of each package for a test run against multiple packages with the coverage, e.g.:

go tool -coverprofile cover.out coverpkg ./... ./...

To use this cli, simply run the tests and provide the coverage file name to the cli. Future plans:

  • Support more than just set mode.
  • Support more than one file.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL