Skip to content

Code Coverage Reporting

Markus Ijäs edited this page Jan 13, 2022 · 1 revision

Code coverage automation

Code coverage reports are automatically published after successful test runs at: TBD

Manually generating code coverage reports

Test coverage reports can be generated manually by starting the containers and once they are started by running

$ docker exec -t lopokulu_app_1 coverage run src/manage.py test src
$ docker exec -t lopokulu_app_1 coverage report -m

The first line runs the Coverage tool gathering data about test coverage and the second line outputs report of the run.