Using Coverage.py with Python coverage

preview_player
Показать описание
How to use Coverage package for Python Unittest

0:00 Intro
0:39 Installing Coverage
0:52 Creating coverage file and report
1:20 Checking the Coverage table
2:07 Using Coverage in multiple testing files
3:29 Using html option to create and HTML report

#python #unittest #software #softwaredevelopment
Рекомендации по теме
Комментарии
Автор

Woww this helped me with my hw assignment that I was stuck on this code helped

keziakandii
Автор

hi, the coverage report will not trace os.system/subprocess.call these system calls?
any reason or do we need to specify any arg in the coverage command.
just using this, python -m coverage run -m unittest discover test_files/

Thanks in advance

chandana
Автор

Thanks it helped <3
can you tell me how to upload this generated report on github?

umeraltaf
Автор

I want to publish this coverage report on github

umeraltaf