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