go-test: add -cover example (#7858)
This commit is contained in:
parent
6c177bf48b
commit
fa9cbe265b
|
|
@ -22,3 +22,7 @@
|
|||
- Test the package in the current directory and run all benchmarks for 50 seconds:
|
||||
|
||||
`go test -v -bench . -benchtime {{50s}}`
|
||||
|
||||
- Test the package with coverage analysis:
|
||||
|
||||
`go test -cover`
|
||||
|
|
|
|||
Loading…
Reference in New Issue