Hi Alex,
Thanks for your guidance. I did generate the coverage report through pytest as shown in the code below.
I modified the code to follow the recommended logic, but unfortunately still no luck. Here’s my new code and the generated coverage.xml
coverage.txt (31.4 KB) and nosetests.xml
nosetests.txt (8.1 KB) .
coverage erase
coverage run -m nose2
coverage xml -o tests/coverage.xml
pytest -o junit_family=xunit1 --junitxml=tests/nosetests.xml
I also have a .coveragerc
file
[run]
branch=True
source = .
omit = /root/*, ./venv/*, *anaconda*
[report]
omit = /root/*, ./venv/*, *anaconda*, ./tests/*
Thanks
Abhi