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

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
主站蜘蛛池模板: 安陆市| 丹巴县| 安远县| 普兰店市| 丰县| 潼南县| 上栗县| 浮梁县| 阿图什市| 临沧市| 海宁市| 广平县| 两当县| 沙湾县| 嘉定区| 张家口市| 易门县| 吉林省| 普格县| 崇义县| 建水县| 通海县| 平利县| 铜山县| 宁波市| 来凤县| 石门县| 乐至县| 独山县| 两当县| 四川省| 静海县| 格尔木市| 兰州市| 竹溪县| 南汇区| 麦盖提县| 丰顺县| 岳西县| 巨鹿县| 高唐县|