微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

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.

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐