官术网_书友最值得收藏!

What is TDD?

TDD is the practice of writing your tests before writing any application code.

TDD is a practice that is most frequently and strongly advocated by Agile practitioners and theorists. It is one of the major pillars of the Agile methodology. There have been various studies over the years and many white papers published, which clearly state that the use of TDD has resulted in a more successful and robust application code.

TDD consists of the following iterative steps:

This process is also referred to as Red-Green-Refactor-Repeat.

TDD became more prevalent with the use of the Agile software development process, though it can be used as easily with any of the Agile development process's predecessors, such as Waterfall, Iterative, and so on.

At the height of the software revolution in the 1990s, it became evident that the draconian processes and practices developed mostly in the 1980s were slow, officious, likely to fail, and rigid. The Agile development process was created at the Snowbird ski resort in the Wasatch Mountains of Utah. Here, 17 industry thought-leaders met to discuss the problems of the development processes being used with the common goal of creating an adaptive development process that has people at its core rather than requirements. This resulted in the Agile manifesto:

Though TDD is not specifically mentioned in the Agile manifesto (http://agilemanifesto.org), it has become a standard methodology used with Agile. Saying this, you can still use Agile without using TDD.

主站蜘蛛池模板: 年辖:市辖区| 商城县| 威宁| 丹东市| 城步| 息烽县| 高州市| 屏东县| 吉水县| 毕节市| 奉新县| 桂林市| 岳阳县| 浦北县| 临汾市| 玉山县| 江川县| 朝阳区| 丰城市| 沂南县| 和静县| 镇沅| 密云县| 深水埗区| 阳城县| 河北区| 阿克陶县| 亚东县| 双桥区| 衡阳市| 万安县| 武夷山市| 余江县| 达孜县| 应城市| 虹口区| 武安市| 金阳县| 罗田县| 双江| 江口县|