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

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
主站蜘蛛池模板: 上虞市| 郑州市| 广南县| 武隆县| 车险| 赤城县| 新郑市| 舒城县| 博爱县| 昂仁县| 荥阳市| 彰化市| 靖远县| 班戈县| 八宿县| 怀集县| 武夷山市| 巴青县| 竹溪县| 普宁市| 乌恰县| 宁都县| 沙雅县| 沅陵县| 平罗县| 永嘉县| 郓城县| 泸西县| 南宁市| 建德市| 梓潼县| 嘉峪关市| 喀喇沁旗| 永春县| 铁岭县| 南投市| 新安县| 浏阳市| 鄱阳县| 揭西县| 鄂伦春自治旗|