Questions tagged [bdd]

Behavior driven development (or BDD) is an agile software development technique that encourages collaboration between developers, QA and non-technical or business participants in a software project.

BDD is a second-generation, outside-in, pull-based, multiple-stakeholder, multiple-scale, high-automation, agile methodology. It describes a cycle of interactions with well-defined outputs, resulting in the delivery of working, tested software that matters.

BDD focuses on obtaining a clear understanding of desired software behaviour through discussion with stakeholders. It extends TDD by writing test cases in a natural language that non-programmers can read. Behavior-driven developers use their native language in combination with the ubiquitous language of domain driven design to describe the purpose and benefit of their code. This allows the developers to focus on why the code should be created, rather than the technical details, and minimizes translation between the technical language in which the code is written and the domain language spoken by the business, users, stakeholders, project management, etc.

@ wikipedia

123 questions
7
votes
2 answers

Impacts of BDD on QA Teams

Behavior Driven Development (BDD) approaches such as NSpec seem to bring developers and those that define business specifications closer together. But this has left me trying to figure out how more formal QA-shops incorporate these types of…
JoeGeeky
  • 171
  • 4
3
votes
7 answers

Using BDD to describe complex interactions in a state machine

How would you use BDD to describe complex interactions with a state machine? For example consider this scenario: User enters input into the system. The system transitions into state A. The user enters more input into the system. The system…
urig
  • 131
  • 3
2
votes
1 answer

BDD features for dependent applications

Say, if an application has both admin console(admin user only) and user consoles(end user) and a course of action in admin console will be reflected in user console. So, even though the goal is considered to be for actual end user, changes will also…
sake
  • 31
  • 2
2
votes
1 answer

How to test BDD features that require a flag set in order to run?

Hi I automated some features using a BDD Framework. When I pass a given URL, my framework should only work for certain areas not all the features due to access restrictions There is a flag set to true if there is an access to the feature and when…
Ajeesh
  • 61
  • 1
  • 5
1
vote
1 answer

BDD Feature Files guidelines

I'm sure every story cannot be considered as a feature and a feature can be mapped to multiple stories. Sometimes big stories are split into multiple stories for easy reference. Are there any guidelines/references while creating features? i.e what…
sake
  • 31
  • 2
1
vote
2 answers

Origins of Behavior-Driven Development

I'm reading the book 'BDD in Action' by John Ferguson Smart. According to it, BDD draws inspiration from: TDD (write tests first) DDD (common language for business and development) ATDD (specification by example) What it brings to the…
marzelin
  • 111
  • 1