3

I want to setup python test coverage report in TeamCity Professional 2021.2.3. I am using python coverage module which i have installed in my conda environment. My testsuit contains mostly pytests and some unittests. I read on TeamCity official page that for pytest, coverage module works builtin in teamcity. To setup coverage in teamcity, I have followed this post : Test coverage in teamcity with Django

Below is my python tests setup

And Build step setup

With this setup, my tests seem to be running fine. However, i don't see any coverage tab when i open the successful test run. Also i don't see any html file in the Artifacts tab.

Test run result

My question is why don't i see the coverage tab and the html files in the Artifacts tab. I am missing something in my setup?

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.