I want to measure coverage in my project by integration tests (integration of several microservices). Applications - python, tests - pytest.
I know about pytest-cov, but the problem is that my application and tests start in different docker containers. And all interaction between app and tests is carried out through http. So tests know nothing about applications code and vice versa the same.
I know that in C/С# it is possible to make special build (instrumental build - or something like this (the name may be wrong :-))). The main idea it is that after work, application generate some report with coverage and you can check it.
Is there something similar for python? Or may be some another way?