Home > Software Development > Quizzes > Cucumber Testing Practice Test
Cucumber Testing Practice Test
Fast practice, instant feedback. Timer auto-submits when time’s up.
Avg score: 69% Most missed: “Software tools such as Selenium and Ruby on Rails may be used to execute the pie…”

Cucumber is a software tool that supports behavior-driven development. Central to the Cucumber BDD approach is its ordinary language parser called Gherkin. It allows expected software behaviors to be specified in a logical language that customers can understand.

Cucumber vs Selenium:  Selenium is an automation tool for web apps, while Cucumber is an automation tool for behavior-driven development. Selenium executes UI tests while Cucumber does acceptance testing. Selenium script creation is complex while Cucumber is more simple.

Cucumber Testing Practice Test
Time left 00:00
25 Questions

1. In order to skip the test, a special symbol '~' can be used within the tag.
2. The Gherkin programming language is used for the creation of these executable test scripts.
3. The popularity of Cucumber is due to its ability to support almost all popular software platforms, as opposed to JDave, EasyB, JBehave, etc.
4. A user's actions are normally executed when they are defined as ___.
5. The preconditions of a test are described by the given keyword.
6. What is the full form of BDD?
7. Test features, scenario descriptions, and feature descriptions are usually stored in a feature file.
8. Files with the extension '.feature' are feature files.
9. What is the full form of QTP?
10. C#, Java, Perl, PHP, Python, Ruby, and Perl are some of the languages supported by Selenium.
11. Tags are declared using the @ symbol.
12. When using Eclipse, you can use block comments or multi-line comments by selecting all lines and pressing Ctrl + /.
13. Operators can be used to test multiple tags:
14. Cucumber uses the annotations ___ and ___ to define the hook for each scenario in the step definition file.
15. In the feature file, Gherkin provides the following specific keyword(s):
16. There is a feature keyword at the beginning of every Cucumber testing feature file.
17. Our cucumber hook significantly improves our code workflow and reduces code redundancy.
18. Web UI (User Interface) automation testing is most commonly done with Selenium, an open-source software application.
19. We use data tables for testing web applications that require multiple input parameters.
20. The software development approach BDD (Behavioral Driven Development) evolved from TDD (Test Driven Development).
21. What is/are TRUE about Cucumber Testing?
22. Negative conditions are added with the '___' keyword.
23. A keyword called '___' pertains to what happens after a previous step or action.
24. When you add conditions to your steps, you use the '___' keyword.
25. Test cases are developed using Cucumber, a tool used in Behavior Driven Development.