Today I spend one day time to study TDD,Task Driven Development. I think the basic idea of it is divide and conque. The special point of this method is use test to ensure you are focus on the right point.
Develop progressof TDDis like this:
- Write a todo list. In fact,This need other design method to decide which thing you need to do.
- For each list-item in the todo-list
- write a test
- write code
- refactor
But I think I don't understand it deeply. I will try to useTDD inmy project first. Afterhad some pratice experence,I will return back to read the relate artile.
原文链接:https://www.f2er.com/javaschema/288171.html