Unit Testing Client and RequestFactory

Опубликовано: 20 Март 2026
на канале: GoDjango
4,289
40

Testing your django views isn't exactly the easiest thing to get started doing, and do well. An understanding of how to test your views can go a long way in writing better tests. In this video you will learn about the Client and RequestFactory objects and how to use them to test your views. We will go over the basics of how they work, and write a few tests to demonstrate them.