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

Subscribe to get:
  • All videos
  • Download videos for later
sign inUnlock this Video
Download HD Version next video: Travis-CI and Coveralls