- 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
推薦閱讀
- ServiceNow Application Development
- Mastering Ember.js
- Visual Basic編程:從基礎(chǔ)到實踐(第2版)
- Functional Programming in JavaScript
- Mastering Python Networking
- 從Excel到Python:用Python輕松處理Excel數(shù)據(jù)(第2版)
- 利用Python進(jìn)行數(shù)據(jù)分析(原書第3版)
- 前端HTML+CSS修煉之道(視頻同步+直播)
- Mastering Web Application Development with AngularJS
- Photoshop CC移動UI設(shè)計案例教程(全彩慕課版·第2版)
- Mastering Android Studio 3
- Docker:容器與容器云(第2版)
- Web前端開發(fā)最佳實踐
- 軟件測試技術(shù)
- C語言程序設(shè)計實驗指導(dǎo)