Learning django as a part of it developing an app with TDD approach, after going through many internet pages I have chosen unittest for testing and coverage library to know the test covered. The problem is after executing the coverage run and generating the html report, it created a htmlcov folder in which I see it included the test coverage for all the django libraries too.. which is overwhelming for me to look into the folder and search for the test results of my app results.
I have installed the coverage as per the docs
$ pip install coverage
and executed this command $ coverage run manage.py test -v 2
then generated the html report $ coverage html
which resulted in 423 items of html pages
How I can overcome this, I could see online tutorial using the pytest to generate nice reports but it is not possible when using unittest and coverage..
tried below options too..
2)
$ coverage run -m unittest discover && coverage report
$ coverage html
3)
$ coverage run manage.py unittest feed, users
$ coverage html
same result, how can I get the desired files which includes only my project and it's app files (models, views, forms etc.,)