My first impression about TDD

前端之家收集整理的这篇文章主要介绍了My first impression about TDD前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

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:

  1. Write a todo list. In fact,This need other design method to decide which thing you need to do.
  2. For each list-item in the todo-list
    1. write a test
    2. write code
    3. 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

猜你在找的设计模式相关文章