This document summarizes a presentation on unit testing and test-driven development (TDD). It discusses:
- What unit testing is and why it's important to write tests, like detecting changes that break code and improving code quality.
- Current problems at the company Sendo, like lacking unit tests and tightly coupled code that's hard to maintain.
- How adopting clean architecture and TDD can help by decomposing code into independent units that are easy to test in isolation.
- The TDD process of writing a failing test first, then code to pass the test, and refactoring.
- A demonstration of writing a unit test using TDD.
The presentation argues that
Related topics: