TDD, Test driven development
Just a quick refresher, TDD looks like this:
1. Create a test
2. Run all tests, making sure the new test fails
3. Write the minimum amount of code to make the test pass
4. Run all of the tests to ensure they pass
5. Refactor the code, making sure that the tests still pass
6. Repeat for each new code module being developed
The Effectiveness of Test Driven Development (TDD) | GrokCode
沒有留言:
張貼留言