4.4
Beginner
6h 29min
Build Robust Applications with Test-driven Development in Django
Gain insights into test-driven development in Django, explore the differences between test methodologies, and learn to build robust applications through unit testing and Red-Green Refactor methodology.
As Django co-founder Jacob Kaplan-Moss says, “code without tests is broken as designed.” That’s why it’s essential to develop your applications with tests and success conditions in mind.
This course is an introduction to test-driven development and a practical guide on applying these principles to Django development. You’ll start with the purpose of automated testing, including the differences between test-driven development and development-driven testing. You’ll then be introduced to Django, a Python framework for building web applications. You’ll design and write a series of unit tests before building a complete web application using Django—a web application that will pass all the tests you designed, to ensure a robust, low-risk experience.
By the end of this course, you’ll be familiar with test-driven development, Red-Green Refactor methodology, and deploying quality applications using Django.
As Django co-founder Jacob Kaplan-Moss says, “code without tests is broken as designed.” That’s why it’s essential to develop yo...Show More
WHAT YOU'LL LEARN
A deep familiarity with test-driven development
The ability to write unit tests and automate those tests using GitHub Actions
A strong grasp of the Django web framework
A deep familiarity with test-driven development
Show more
Content
1.
Introduction
6 Lessons
Get familiar with Test-driven Development (TDD), its advantages, and essential testing types in Django.
2.
Steps Involved in Test-driven Development
7 Lessons
Unpack the core of Test-driven Development steps: write tests, run tests, code, pass tests, refactor.
3.
E-library Application: Part One
8 Lessons
Go hands-on with bootstrapping a Django project and using TDD for models and URLs.
4.
E-library Application: Part Two
6 Lessons
Break down the steps to create and test forms and templates in Django applications.
5.
E-library Application: Part Three
5 Lessons
Dig deeper into testing and developing views, handling form submissions, and improving test documentation in Django.
Certificate of Completion
Showcase your accomplishment by sharing your certificate of completion.
Course Author:
Developed by MAANG Engineers
Trusted by 2.8 million developers working at companies
"These are high-quality courses. Trust me the price is worth it for the content quality. Educative came at the right time in my career. I'm understanding topics better than with any book or online video tutorial I've done. Truly made for developers. Thanks"
Anthony Walker
@_webarchitect_
"Just finished my first full #ML course: Machine learning for Software Engineers from Educative, Inc. ... Highly recommend!"
Evan Dunbar
ML Engineer
"You guys are the gold standard of crash-courses... Narrow enough that it doesn't need years of study or a full blown book to get the gist, but broad enough that an afternoon of Googling doesn't cut it."
Software Developer
Carlos Matias La Borde
"I spend my days and nights on Educative. It is indispensable. It is such a unique and reader-friendly site"
Souvik Kundu
Front-end Developer
"Your courses are simply awesome, the depth they go into and the breadth of coverage is so good that I don't have to refer to 10 different websites looking for interview topics and content."
Vinay Krishnaiah
Software Developer
Hands-on Learning Powered by AI
See how Educative uses AI to make your learning more immersive than ever before.
AI Prompt
Code Feedback
Explain with AI
AI Code Mentor
Free Resources