In this Test-Driven Development Specialization, we will take a hands-on look at Test-Driven Development by writing and implementing tests from the first module. You'll be translating user specs into unit tests, applying the Red-Green-Refactor mantra, and applying mocks in python with the unit test mock module. You'll learn to integrate best practices of test-driven development into your programming workflow and refactor legacy codebases with the help of agile methodologies. We will explore continuous integration and how to write automated tests in Python. Finally, we will work everything we've learned together to write code that contains error handlers, automated tests, and refactored functions.
What you'll learn
write and implement unit tests
apply the Red-Green-Refactor process
utilize mocks in Python
integrate test-driven practices into existing workflows
refactor legacy codebases using agile methodologies
understand continuous integration
develop automated tests
Course objectives
learn the principles of test-driven development
gain practical experience with Python testing tools
improve code reliability through testing and refactoring