Test-Driven Development

Learning about the practice of test-driven development (TDD) and its benefits.

We'll cover the following...

Consider thinking about how we will test the code we’re about to write. Rather than just slapping out some code and then figuring out how to test it, try to design a test that describes the code we want to write, then write the code. This reversed approach might seem bizarre or even impossible, but it’s the core element of the unit-testing practice of test-driven development (TDD).

Test-driven development (TDD) is a software development process in which a developer writes specific test ...