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

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
主站蜘蛛池模板: 焉耆| 特克斯县| 乌兰察布市| 宁德市| 秦皇岛市| 盐池县| 海宁市| 东乌| 南漳县| 大连市| 许昌县| 棋牌| 六安市| 疏附县| 峡江县| 南川市| 巴彦县| 孟州市| 大田县| 息烽县| 教育| 武川县| 齐齐哈尔市| 河源市| 内江市| 拉萨市| 通海县| 赤水市| 福鼎市| 东港市| 涞源县| 寻甸| 鹤庆县| 广灵县| 怀来县| 宝鸡市| 泰和县| 镇江市| 定结县| 松江区| 栾城县|