Cucumber BDD Quiz Intermediate Level

Welcome to your Cucumber BDD Quiz Intermediate Level

 

For your information, please note that this Cucumber quiz has only single choice questions. Read each and every questions carefully before you start answering.. You will have 10 min to complete the quiz. Press the Start quiz button to initiate the quiz. Once complete you press Finish button to complete the test.

After completion of test you can see your quiz result with sharing option, You can share your quiz result to social media like Facebook, Instagram etc.

Note: You can view all the answers at the end of this quiz. Best of luck for Cucumber Quiz Intermediate Level.

1. 
The World object can be used to pass instance variables by defining instance variable in a module and using Cucumber’s World method to mix that module in to the World Project. Which of these statements describes the subsequent functions of the world object?

2. 
Each scenario in feature file contains lists of steps that begin with which of the following keywords?

3. 
You are working with a data table and you want to use of reference of that data table in your step definitions as a multi-dimensional array. Assuming the name of the argument your step passes when capturing the table is “Table” and the array is to be named “@vehicle” which of those will accomplish your requirement

4. 
You are working with nested steps in cucumber and you see the built in cucumber ‘steps’ method to define a number of lower level steps. Which Ruby construct can you employ to indicate that you have a string that will go across multiple lines?

5. 
While using a scenario outline, which character are used to delimit the placeholder for your Examples table?

6. 
Which of these following statements accurately describe background?

7. 
Cucumber makes extensive use of character classes and quantifiers to match strings. You want to match and integer value of 100 using regex character classes and quantifiers. Which od these produces an exact match?

8. 
Step definition usually resides in the features/ step definitions / directory. Cucumber expects your step definition file to eb named in a specific format. What must your step definition filename end with?

9. 
Which of these following statement accurately describe characteristics of Acceptance Test Driven Development (ATDD) when compared to Behavior Driven Development(BDD)?

10. 
Gherkin assist in providing which of these purposes?


Leave a Reply

Your email address will not be published. Required fields are marked *