Home
About
Blog
Courses
Contact
More about Django
· Module 8 - Testing and continuous integration
8.3 Testing models, views and forms
26 min
Back to the curriculum
Video coming soon
The recording for this lesson has not been published yet.
What we cover
factory_boy factories for Post and User
Testing managers and model methods
Testing permissions and redirects in views
Valid and invalid form submissions
Parametrised tests for edge cases
Written notes for this lesson are being prepared. The outline above already shows what the recording will cover.
← 8.2 pytest-django
8.4 Coverage and quality gates →
After this lesson you will
Create test data without repetitive boilerplate
Cover the main blog flows with tests
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