Skip to content

A simple CLI to show how simply test coverage metrics can be gamed.

Notifications You must be signed in to change notification settings

andrewstuart/bstest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

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

About

A simple CLI to show how simply test coverage metrics can be gamed.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages