Code coverage
The aim of this output is to trace the evolution of code coverage by tests.
The following command can be used to calculate this coverage
pytest --cov iota2 --cov-report html:cov_html
Currently, 77% of the code is covered by all the tests. :cov_html.zip
I don't think it's easy to set up a code coverage hook to check that coverage is constantly increasing. However, it is possible to check, during a MR, that the coverage of the individual modules is not decreasing. If this is not the case, the author of the MR will be notified and a request for correction will be made. If someone has a better procedure approach, let me know.