Behavior Driven Development Flashcards
What does BDD stand for?
Behavior Driven Development
What is the main focus of BDD?
The main focus of BDD is implementing an application by describing its behavior from the stakeholders’ perspective.
How does Dan North define BDD?
BDD is a second-generation, outside-in, pull-based, multi-stakeholder, multi-scale, high-automation agile methodology.” It describes a cycle of interactions with well-defined outputs that result in delivering well-functioning, tested, valuable software.
From which methodologies is BDD derived?
BDD is derived from Extreme Programming (especially Test Driven Development and Continuous Integration), Acceptance Test-Driven Planning, Lean Principles, and Domain Driven Design.
What are some influences on BDD?
Neurolinguistic Programming (NLP) and Systems Thinking.
What are the three main activities of BDD?
The three main activities are Discovery (finding examples), Formulation (turning examples into scenarios), and Automation (automating the scenarios).
Why is BDD considered “TDD done right”?
BDD is considered “TDD done right” because it focuses on behavior rather than implementation, leading to better maintainable tests.
What is the ‘3 Amigos’ workshop?
It is a workshop where at least one person from the perspectives of Business, Test, and Development participates to discuss and discover examples.
What is Example Mapping?
It is a technique used for discovering and organizing examples during a ‘3 Amigos’ workshop.
Which language is used for describing scenarios in BDD?
The Gherkin language.
Name two tools used for automation in BDD.
Cucumber for Java and SpecFlow for .NET
From whose perspective are user stories written?
User stories are written from the perspective of the system’s user.
What are the main components of a user story structure?
Title, Narrative (As a [role], I want [feature], So that [benefit]), and Acceptance Criteria (presented as Scenarios).
What should the title of a story describe?
The title should describe an activity
What should the narrative of a story include?
The narrative should include a role, a feature, and a benefit.