- Test-Driven Java Development(Second Edition)
- Alex Garcia Viktor Farcic
- 234字
- 2021-06-24 18:31:50
Behavior-driven development
Behavior-driven development (BDD) is an agile process designed to keep the focus on stakeholder value throughout the whole project. The premise of BDD is that the requirement has to be written in a way that everyone, be it the business representative, analyst, developer, tester, manager, and so on, understands it. The key is to have a unique set of artifacts that are understood and used by everyone—a collection of user stories. Stories are written by the whole team and used as both requirements and executable test cases. It is a way to perform TDD with a clarity that cannot be accomplished with unit testing. It is a way to describe and test functionality in (almost) natural language and make it runnable and repeatable.
A story is composed of scenarios. Each scenario represents a concise behavioral use case and is written in natural language using steps. Steps are a sequence of the preconditions, events, and outcomes of a scenario. Each step must start with the words Given, When, or Then. Given is for preconditions, When is for actions, and Then is for performing validations.
This was only a brief introduction. There is a whole chapter, Chapter 8, BDD – Working Together with the Whole Team, dedicated to this topic. Now it is time to introduce JBehave and Cucumber as two of the many available frameworks for writing and executing stories.
- LabVIEW Graphical Programming Cookbook
- Mastering phpMyAdmin 3.4 for Effective MySQL Management
- Learning Bayesian Models with R
- Python零基礎快樂學習之旅(K12實戰訓練)
- Learning Network Forensics
- ADI DSP應用技術集錦
- 零基礎入門學習Python
- Create React App 2 Quick Start Guide
- Python深度學習:模型、方法與實現
- Extreme C
- 編寫高質量代碼:改善Objective-C程序的61個建議
- HTML+CSS+JavaScript網頁設計從入門到精通 (清華社"視頻大講堂"大系·網絡開發視頻大講堂)
- Android應用開發深入學習實錄
- 軟件工程與UML案例解析(第三版)
- Head First Kotlin程序設計