Mid Testing How does TDD improve software quality? Ensures code is testable and well-designed.Helps catch bugs early.Provides a safety net for refactoring.Encourages simple, focused code.Improves documentation through tests.