Skip to content

Commit 9ce4a5a

Browse files
author
OpenShift Bot
committed
Merge pull request #5801 from php-coder/gh5797_fix_coverage_cmd
Merged by openshift-bot
2 parents 4cececa + f83bd4a commit 9ce4a5a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

HACKING.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,9 @@ To run tests without the go race detector, which is on by default, use:
100100
A line coverage report is run by default when testing a single package.
101101
To create a coverage report for all packages:
102102

103-
$ OUTPUT_COVERAGE=true hack/test-go.sh pkg/build
103+
$ OUTPUT_COVERAGE=/path/to/dir hack/test-go.sh pkg/build
104+
105+
After that you can open `/path/to/dir/coverage.html` in the browser.
104106

105107
### Integration tests
106108

0 commit comments

Comments
 (0)