Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Test-Driven Development in Django

via LinkedIn Learning

Overview

Learn how to build Django applications using test-driven development.

Syllabus

Introduction
  • Why test-driven development (TDD) is important
  • What you should know
  • TDD philosophy and project overview
1. Functional Tests
  • Functional vs. unit tests
  • Writing a test in Selenium
  • Passing your first test
  • The Django testing framework
  • Expanding your tests
2. Unit Tests
  • Writing a unit test
  • Testing page data
  • Hash testing
  • Writing a test for user input
  • Saving your model
  • Testing a POST request
  • Passing the test
3. Advanced Testing
  • User input with functional tests
  • Waiting
  • AJAX
  • Testing and deployment
  • TDD vs. test after
Conclusion
  • Next steps

Taught by

Nick Walter

Reviews

4.6 rating at LinkedIn Learning based on 64 ratings

Start your review of Test-Driven Development in Django

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.