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

Chapter 1. Welcome to BDD

Before we start coding tests, we need to understand what behavior-driven development (BDD) is and how it differs from test-driven development (TDD).

We need to understand not only the concept of BDD, but also all the jargon associated with it. For example, what is a feature? Or what is a unit test? So, in this chapter, I will try to clarify some common vocabulary in order to give you a solid understanding of what every technical term means.

In this chapter, you will learn:

  • The reason for writing automated tests
  • The workflow prescribed by the test-first approach
  • What BDD is and how it differs from TDD
  • What a unit test really is
  • The different phases that compose a test
  • What test doubles are and the different kinds of test doubles that exist
  • The characteristics of a good test
主站蜘蛛池模板: 玉山县| 昌都县| 温州市| 磐石市| 海盐县| 澄江县| 徐汇区| 云安县| 依兰县| 柏乡县| 宝丰县| 于都县| 普兰店市| 威信县| 宜春市| 惠州市| 焉耆| 隆尧县| 六盘水市| 武夷山市| 漾濞| 涟水县| 临湘市| 宜宾市| 定结县| 隆德县| 潮州市| 桐庐县| 长宁区| 日土县| 富民县| 武平县| 河曲县| 晋州市| 遵义县| 民县| 苗栗市| 瓮安县| 衡南县| 永嘉县| 施秉县|