This question already has an answer here:
Is there a way to calculate coverage of whole Go modules with some codes doesn't have tests?
go test ./...
will skip coverage calculation of files which doesn't have test codes.
Aucun commentaire:
Enregistrer un commentaire