![Test-driven development Test-driven development](https://s.yimg.com/fz/api/res/1.2/doF0iXxdFt60E98i121YjA--~C/YXBwaWQ9c3JjaGRkO2ZpPWZpdDtoPTEzMDtxPTgwO3c9MTY2/https://s.yimg.com/zb/imgv1/02ee0ff2-edb8-313f-85df-568846a908cc/t_500x300)
Test-driven development
Software development methodology involving repetition of a very short development cycle: requirements are turned into very specific test cases, then the software is improved to pass the new tests, only
Test-driven development (TDD) is a way of writing code that involves writing an automated unit-level test case that fails, then writing just enough code to make the test pass, then refactoring both the test code and the production code, then repeating with another new test case. Alternative approaches to writing automated tests is to write all of the production code before starting on the test cod... Wikipedia