TDD is essentially a unit test

Source: Internet
Author: User

I have always wanted to practice TDD-driven development, but I can't start with it. Now, with the challenge to TDD, I am shaken.

TDD can benefit Software Development

1. obtain a good Unit Interface

2. automated test suite

3. Drive ImprovementCodeInternal logic to avoid bugs.

 

However, TDD is also insufficient. First, everyone may wonder whyProgramEmployees need to spend twice as much time writing unit test code. "The above advantages can be achieved through other ways.

For example, to obtain a good unit interface, we should consider it from the design level. The internal logic quality of the code can be completed through some white box testing methods or fxcop technology.

 

In addition, whether TDD can obtain the software architecture or whether agile development methods can obtain the software architecture is confusing.

TDD is a kind of practice of just do it, so don't expect a global perspective.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.