We / Our QA teams use an external testing framework, cucumber on java, to write end-to-end unit tests for projects across various languages. We would like to measure code coverage from running such tests for our Go servers.
E.g. for our python servers, we:
- Run servers using coverage:
coverage run ./src/server.py
-
Run the integration / E2E tests as a java application
-
Kill the python server after testing application is done
-
Generate test coverage reports using
coverage html
Is there something similar available on Go? If not, what are the possible alternatives we should consider?
Aucun commentaire:
Enregistrer un commentaire