Cucumber BDD Quiz Basic Level May 20, 2021 Leave a Comment on 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. You want to create and html report using one of the cucumbers formatters . Which of the following statements does this correctly. cucumber -f html - - output cucumber.html cucumber -f html cucumber -f cucumber.html cucumber - output cucumber.html 2. Cucumber uses a plain text parser to assist in the definition of the test cases. What is the name of this plain text parser? Relish Pythumber Cuke Gherkin 3. 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? expect(@result) eq expect(executed_output) expect(@result).to eq executed_output expect(@result) = expect(executed_output) expect(@result).eq executed_output 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+1Given(/^input([^”]*)$/) do|input| Given(/^the input (^”)$/) do|input| None(empty disk) Given(/^the input (\d)$/) do|input| Given(/^the input (#)$/) do|input| 5. Which of these statements accurately describe characteristics of the BDD? BDD makes use of acceptance tests C. Combines techniques and principle from waterfall methodology. Requires that you build software first then the unit test afterwards. Originated From Test Driven Development. An Agile software development methodology 6. 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? ruby gem bundle gem install bundler npm bundler ruby - - install bundler 7. In order to install Cucumber on a MacOS platform, which of these packages is required. Python Ruby Node.js Xcode 8. 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? Stron9 String11 $trong strongtwo 9. Which of these is the top level when participating in an example mapping exercise? Rule Example Story Question 10. Which of these would be valid reasons for using a scenario outlines in a feature files? Your feature files contain multiple features To assist with the reading and understanding of the scenario. There are several scenarios differing only on values There is only one scenario in the features file. Please fill in the comment box below.