Home
About
Blog
Courses
Contact
More about Django
· Module 8 - Testing and continuous integration
8.4 Coverage and quality gates
16 min
Back to the curriculum
Video coming soon
The recording for this lesson has not been published yet.
What we cover
coverage.py with pytest-cov
Reading the HTML report
Excluding migrations and settings
Why 100 percent coverage is not the goal
Written notes for this lesson are being prepared. The outline above already shows what the recording will cover.
← 8.3 Testing models, views and forms
8.5 Continuous integration with GitHub Actions →
After this lesson you will
Measure which code your tests actually run
Set a threshold that helps instead of annoying
Module 8
8.1
Why tests, and what to test first
8.2
pytest-django
8.3
Testing models, views and forms
8.4
Coverage and quality gates
8.5
Continuous integration with GitHub Actions