Skip to main content

go/gocover

1#!/usr/bin/env bash
3set -o errexit
4set -o nounset
6print_info '-> ./tool/go test -coverpkg="$1" -coverprofile=coverage.out "$@"'
7./tool/go test -coverpkg="$1" -coverprofile=coverage.out "$@"
9echo ""
11print_info "-> ./tool/go tool cover -html=coverage.out"
12./tool/go tool cover -html=coverage.out