开发者

What exactly TDD stands for? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

This question does not appear to be about programming within the scope defined in the help center.

Closed 5 years ago.

Improv开发者_JAVA技巧e this question

What exactly TDD stands for?

I have seen two versions :

  1. Test Driven Design
  2. Test Driven Development

So, which one is correct and why?


They are broadly the same, but different in actual meaning.

Test driven development means that you write tests and then your classes. (yes, in that order.)

The design part means that you have better designed classes if you write your tests first. You won't write quick and dirty if you know that your code will go trough some tests. Thus, test driven development results in test driven design.


I think it rather means Test Driven Development as it is a way to write Software (i.e. develop) by first writing some tests and then the productive code to satisfy all requirements defined by these tests.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜