As a high-level Python web framework, Django is very useful for developers to understand. Combining Django with a test-driven development process can lead to higher-quality code and a faster development cycle. In this course, follow along with Nick Walter as he explains test-driven development with Django. Nick explores functional tests and unit tests, discussing the differences. He also covers advanced testing methods, the Django testing framework, hash testing, POST requests, AJAX, and more.

Topics include:

  • TDD philosophy
  • Comparing functional and unit tests
  • Writing a test in Selenium
  • Writing a unit test
  • Testing page data
  • Hash testing
  • Writing a test for user input
  • Testing a POST request
  • AJAX implementation
  • TDD vs. testing after