Learn how to build Django applications using test-driven development.
- [Nick] Imagine deploying a new feature and not hoping that it works but knowing that it works. Test-driven development can bring confidence to your complex system and help your team be more autonomous so they know where errors come from quickly. We'll use tests that confirm the home page, save and load objects from our database, and evaluate browser functionality like waiting for AJAX responses. Hi, I'm Nick, and I love Django in mobile programming. Let's begin.
Author
Released
3/12/2019- 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
Skill Level Intermediate
Duration
Views
Related Courses
-
Deploying Django Apps: Make Your Site Go Live
with Nick Walter2h 43m Intermediate -
Building RESTful Web APIs with Django
with Rudolf Olah1h 9m Intermediate
-
Introduction
-
What you should know1m 9s
-
1. Functional Tests
-
Writing a test in Selenium5m 42s
-
Passing your first test3m 9s
-
The Django testing framework6m 28s
-
Expanding your tests7m 4s
-
2. Unit Tests
-
Writing a unit test6m 4s
-
Testing page data7m 44s
-
Hash testing4m 57s
-
Saving your model5m 9s
-
Testing a POST request3m 11s
-
Passing the test5m 25s
-
-
3. Advanced Testing
-
Waiting4m 3s
-
AJAX6m 22s
-
Testing and deployment1m 41s
-
TDD vs. test after1m 36s
-
Conclusion
-
Next steps1m 11s
-
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Why test-driven development (TDD) is important