go/gocover
- 298 bytes
- Bash
- View raw
1#!/usr/bin/env bash
3set -o errexit
4set -o nounset
6print_info '-> ./tool/go test -coverpkg="$1" -coverprofile=coverage.out "$@"'
11print_info "-> ./tool/go tool cover -html=coverage.out"
12./tool/go tool cover -html=coverage.out