experimental-cli/coverage.sh

6 lines
94 B
Bash

#!/bin/sh
cd project
go test -coverprofile coverage.out
go tool cover -html=coverage.out
cd -