Test-driven development (TDD) explained
Test-driven development (TDD) is a software development process that involves writing tests for your code before you write the code. This approach has transformed the development methodology around testing. While the traditional waterfall model of software development was linear, with testing occurring near the end of one long timeline, TDD makes testing an ongoing, iterative process.