mercredi 8 août 2018

How to include *_test.go files in coverage reports

I would like to know if there is a way that I can generate a coverage report that also includes statements covered on the tests themselves.

Regarding the merits of doing such a thing, I would like to see that my tests are as useful as the rest of my code. I've become accustomed to including my test code coverage in python and this is something I find helpful.

Aucun commentaire:

Enregistrer un commentaire