Test-driven development

Test-driven development is the process of using testing to validate software as it is being written.