Unit Testing Client and RequestFactory
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.
This video is for Pro subscribers
Learn more and support GoDjango subscribe today
sign inUnlock this Video
- All videos
- Download videos for later