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

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.

主站蜘蛛池模板: 荔波县| 西畴县| 行唐县| 肇州县| 沙湾县| 屏山县| 南召县| 丹东市| 蓝山县| 万载县| 永昌县| 宝清县| 九龙城区| 梅州市| 连云港市| 炉霍县| 嘉善县| 永靖县| 凉城县| 金湖县| 谢通门县| 盱眙县| 贵阳市| 高雄县| 金溪县| 淮南市| 那曲县| 滦南县| 松桃| 休宁县| 安图县| 北宁市| 固原市| 北京市| 车致| 牙克石市| 张北县| 平凉市| 株洲县| 桦南县| 元江|