Cucumber BDD Quiz Basic Level

Welcome to your Cucumber BDD Quiz Basic 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 Basic Level.

1. 
Which of these would be valid reasons for using a scenario outlines in a feature files?

2. 
You have an instance variable ‘@result’ and you want to use an Repec-based assertion to test the value of ‘@result’ with an argument identified as ‘expected_output’ in a Then Step. Which of the following statements ac3. You have an instance variable ‘@result’ and you want to use an Repec-based assertion to test the value of ‘@result’ with an argument identified as ‘expected_output’ in a Then Step. Which of the following statements accomplish this for you?complish this for you?

3. 
Cucumber uses a plain text parser to assist in the definition of the test cases. What is the name of this plain text parser?

4. 
Which of these step definition achieves this for you? Which of these step definition achieves this for you?

You are designing a regular expression to capture and expression from this step.

Given the input 99+1

Given(/^input([^”]*)$/) do|input|

5. 
In order to install Cucumber on a MacOS platform, which of these packages is required.

6. 
Which of these statements accurately describe characteristics of the BDD?

7. 
You are participating in an example mapping exercise. The story is ‘The system must force users to use strong password’ and one of the rule that your team has identified is that users’ passwords must contain a numeric character. Which of these examples demonstrate a violation of this rule?

8. 
Which of these is the top level when participating in an example mapping exercise?

9. 
You have installed Ruby and Xo=code on your OSX development machine and you want to use bundler to manage your Ruby gems. Which statement correctly installs bundler?

10. 
You want to create and html report using one of the cucumbers formatters . Which of the following statements does this correctly.


Leave a Reply

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