Add test coverage command
This commit is contained in:
parent
f033fcbe6b
commit
a835549a7f
|
@ -169,7 +169,8 @@ func Test() {
|
|||
}
|
||||
|
||||
func TestCoverage() {
|
||||
|
||||
mg.Deps(Test)
|
||||
runAndStreamOutput("go", "tool", "cover", "-html=cover.out", "-o", "cover.html")
|
||||
}
|
||||
|
||||
func IntegrationTest() {
|
||||
|
|
Loading…
Reference in New Issue