Test-driven development (TDD), also known as red-green-refactor is a common software development technique in which you write tests before you write the actual code. In this video, I show an example in Python of how to do TDD using the unittest package. I also share a few practical tips related to software testing in this video. The code I worked on in this episode is available here: 💡 Here's my FREE 7-step guide to help you consistently design great software: ✅ Write cleaner code with Sourcery: A few relevant books: - Test-Driven Development: By Example, by Kent Beck - - Refactoring: Improving the Design of Existing Code (2nd Edition) by Martin Fowler - - Design Patterns: Elements of Reusable Object-Oriented Software by Erich Gamma, Richard Helm, Ralph Johnson, and John Vlissides:
Hide player controls
Hide resume playing