Cucumber MCQ Questions And Answers - Software Quality

Cucumber MCQs : This section focuses on "basics" of Cucumber. These Multiple Choice Questions (MCQ) should be practiced to improve the Cucumber skills required for various interviews (campus interviews, walk-in interviews, company interviews), placements, entrance exams and other competitive examinations.

1. Which of the following are Advantages of Cucumber?

A. You can involve business stakeholders who cannot code
B. End-user experience is a priority
C. High code reuse
D. All of the above

View Answer


2. How many files required to execute a Cucumber test scenario?

A. 1
B. 2
C. 3
D. 4

View Answer


3. A _____________ is the actual code implementation of the feature mentioned in the feature file.

A. scenario outline
B. given definition
C. step definition
D. None of the above

View Answer


4. Cucumber is Ruby-based?

A. TRUE
B. FALSE
C. Can be true or false
D. Can not say

View Answer


5. Rspec is used for?

A. Regression Testing
B. Unit Testing
C. Alpha Testing
D. System Testing

View Answer


6. Which keyword is used to combine two or more same type of action?

A. But
B. Or
C. And
D. Not

View Answer


7. In Cucumber, Comments will be denoted with?

A. !
B. @
C. $
D. #

View Answer


8. __________ are the sticky notes you’ve put on pages you want to be able to find easily.

A. Object
B. Attribute
C. Tags
D. None of the above

View Answer


9. You can generate the output/report of the cucumber using different cucumber commands.

A. TRUE
B. FALSE
C. Can be true or false
D. Can not say

View Answer


10. When Cucumber finds a matching Step Definition it will execute it. If the block in the step definition doesn not raise an Exception, the step is marked as ?

A. undefined step
B. successful step
C. pending step
D. skipped step

View Answer




Discussion



* You must be logged in to add comment.