Describe the bug
I have unit tests (without live server) and integration tests (with live_server), and all successfully pass. However, when I try to get the coverage, it does no make any difference if I have the integration tests enabled or not. I have set up in my .coveragerc
to get the coverage, I am executing pytest --cov backend --cov-config=.coveragerc --cov-append
but still makes no difference. After starting the live_server I check that is listening, so it is used for real. What am I doing wrong?
Environment (please complete the following information):
OS: Linux
Python 3.10.8
pytest-flask 1.2.0
pytest-cov 4.0.0
Describe the bug I have unit tests (without live server) and integration tests (with live_server), and all successfully pass. However, when I try to get the coverage, it does no make any difference if I have the integration tests enabled or not. I have set up in my .coveragerc
[run] branch = True concurrency = multiprocessing parallel = True
to get the coverage, I am executing pytest --cov backend --cov-config=.coveragerc --cov-append but still makes no difference. After starting the live_server I check that is listening, so it is used for real. What am I doing wrong?
Environment (please complete the following information):