Test Driven Development (TDD) is a development approach where tests are written before the actual application code. This method ensures that the system is built based on expected behavior rather than current functionality. Writing tests first also guides developers to implement the minimal code necessary to pass the tests, reducing future errors.

The Testing Pyramid:

Red, Green, Refactor Loop:


테스트 피라미드:

Red, Green, Refactor 루프: