Cucumber BDD Quiz Advance Level

Welcome to your Cucumber BDD Quiz Advance 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 6 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 Advance level.

1. 
Given the database has been created for an accounts table, complete the code properly define the class for the table inheriting form ActiveRecord ::ABse?

Class ActiveRecord :: Base

end

  1. tbl_account

2. 
Which of the following statement accurately describe the use of Transforms?

3. 
Which flag must you use with cucumber in order to tell it that you want to run from the root of the features folder, thereby allowing you to organize your features in subdirectories?

4. 
What are the two primary approaches when testing REST APIs with cucumber?

5. 
You are using DatabaseCleaner in truncation mode to clean a database between scenarios. Where is the optimum place to run DataCleaner in truncation mode?

6. 
You want to print a message form an after hook to the console when running a scenario. If that scenario fails. Complete the code that will accomplish this.

Puts “Something had happened ”

7. 
What of these are valid result states returned by cucumber?

8. 
Which of the following are considered primary causes of Flickering scenario?

9. 
You are using tags to label and run scenarios. You want to run only those sceanrios that are tagged with both the @sellwidgets and @buywidgets tags. Which command will accomplish this?

10. 
Which flags could you use to format the cucumber output to display useful information about the time that each step took to run?

11. 
Which of the following frameworks integrations is supported by cucumber?

12. 
Complete the code statement so that the default profile runs the other two profiles whne no profiles is specified at the command line

Default :

Html_report : -f progress -f html -o features_report.html

Test1001 : -t @test1001

13. 
Which of these statements accurately describes synchronizing by listening?


Leave a Reply

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