Add test coverage command

This commit is contained in:
kolaente 2020-08-31 22:21:14 +02:00
parent f033fcbe6b
commit a835549a7f
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 2 additions and 1 deletions

View File

@ -169,7 +169,8 @@ func Test() {
}
func TestCoverage() {
mg.Deps(Test)
runAndStreamOutput("go", "tool", "cover", "-html=cover.out", "-o", "cover.html")
}
func IntegrationTest() {