Dan North 2009 Where did BDD come from TDD was first BDD better defined what to test Core C oncepts uses dsl domain specific languge leverage redgreenclean from TDD usually integrated with a tool ID: 997893
Download Presentation The PPT/PDF document "Introduction to BDD “BDD is a second-g..." is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.
1.
2. Introduction to BDD
3. “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.”-Dan North 2009
4. Where did BDD come from? TDD was firstBDD better defined “what” to test
5. Core Conceptsuses dsl (domain specific languge)leverage red/green/clean from TDDusually integrated with a tool
6. Typical Specification has two partsStory/NarrativeWhoWhatWhyAcceptance CriteriaInitial conditionTrigger eventExpected OutcomeOften Gherkin (given/when/then)
7. Examples
8. Specialized Tooling
9. What do the tools do?Reads the documentUnderstands key words ex:“then”Clauses transformed to test parameters with help from developersExecutes the test scenarios
10. ExamplesJbehaveRbehaveCucumberRspecJDave
11. What are the benefits?Better collaborationHigh visibility – common languageSoftware design follows biz valueusers more satisfiedMore confident devsHigher quality and lower cost