stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
General BDD Flashcards | StudBud
Explore
/
General BDD
What is a step definition file?
What is Gherkin?
General BDD
15 terms
·
StudBud Administration
·
31 plays
Imported from external platform
Flashcards
15 cards
F
Practice quiz
P
Host live
L
Questions
15
Answers
1
What is Gherkin?
A DLS that uses syntax similar to English
A DSL that uses syntax similar to English
A LSD that uses syntax similar to English
A SLD that uses syntax similar to English
2
What is a step definition file?
Shows how long the code will be
Shows the tester which tests pass and fail
Provides a step-by-step guide on how to structure your steps
Provides the implementation to a step in a scenario
3
What are the documentation files called in Gherkin?
Executable Specifications
Specification Executables
Executables
Specifications
4
What software tool do we use for BDD (commonly)?
Gherkin
Apple
Cucumber
Orange
5
What is the aim of BDD?
To ensure our tests are written to get accurate, specific results
To gain better knowledge of what you are testing and why you are testing it
To close the gap between technical and business teams by developing a share
To help make testing easier
6
What is a Feature file?
Shows the user how to write tests
Describes the layout of all code in the project
A file that completes our tests for us
Provides a high level description of some software features
7
What is the correct order of components in the BDD loop?
Discovery, Formulation, Automation
Formulation, Discovery, Automation
Automation, Formulation, Discovery
Discovery, Automation, Formulation
8
Which of these is NOT a principle of BDD?
Apply techniques all the way down to the lowest level of abstraction of the
Describe behaviours in a single notation which is accessible to testers,
A refinement of TDD and Acceptance Driven Development
Helps the users see how the testing infrastructure works
9
Gherkin keywords can only be used in up to 20 languages
True
False
10
What is always the FIRST LINE of the FEATURE FILE?
When:
Given:
Feature:
Scenario:
11
What is "The 5 Why's"?
A method to get more information about a solution
A method to complete tests quicker
An iterative interrogative technique used to explore cause/effect relations
An interrogative technique with the aim of solving problems by asking why 5
12
Which of these is NOT a benefit of BDD?
Software tools exist for BDD that can be used for automated generation of
Living documentation, and therefore a shared understanding, evolve over tim
The "Given-When-Then" structure for writing acceptance criteria resembling
Reduces amount of time required to be spent on a project
13
What is BDD?
BDD is a way of checking your tests work
BDD is a set of best practices for writing great tests, used with TDD
BDD is the same as TDD
BDD is a set of instructions to make good tests
14
What type of file is the feature file?
.feature
.ftr
.txt
.feat
15
What do we do in a step definition file?
We leave it as it is, otherwise it messes up other code elsewhere in the pr
We translate steps from the feature file into code we use to perform the te
We translate steps into simple instructions for someone to follow
We take code and convert it into easy to read steps to follow