- Learning Behavior:driven Development with JavaScript
- Enrique Amodeo
- 145字
- 2021-07-23 20:52:33
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
推薦閱讀
- Objective-C Memory Management Essentials
- Delphi程序設計基礎:教程、實驗、習題
- jQuery EasyUI網站開發實戰
- Three.js開發指南:基于WebGL和HTML5在網頁上渲染3D圖形和動畫(原書第3版)
- 從0到1:HTML+CSS快速上手
- 高級C/C++編譯技術(典藏版)
- 深度強化學習算法與實踐:基于PyTorch的實現
- Functional Kotlin
- ASP.NET程序設計教程
- Odoo 10 Implementation Cookbook
- 微信小程序開發實戰:設計·運營·變現(圖解案例版)
- Go語言入門經典
- 精通Spring:Java Web開發與Spring Boot高級功能
- Web開發新體驗
- Hadoop Blueprints