Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 366 Bytes

README.md

File metadata and controls

16 lines (13 loc) · 366 Bytes

bstest

Sometimes you just need test coverage.

go install astuart.co/bstest@latest && bstest && go test -cover

Example:

~C/foo git:(master) ✗ go test -cover
?   	astuart.co/foo	[no test files]
➜  ~C/foo git:(master) ✗ bstest 99
➜  ~C/foo git:(master) ✗ go test -cover
PASS
coverage: 99.9% of statements
ok  	astuart.co/foo	0.036s