Google News
logo
Cucumber - Quiz(MCQ)
A)
High code reuse
B)
End-user experience is the priority
C)
You can involve business stakeholders who can not code
D)
All of the above

Correct Answer :   All of the above

A)
C
B)
C++
C)
Ruby
D)
PHP

Correct Answer :   Ruby

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

Correct Answer :   2


Explanation : Two files required to execute a Cucumber test scenario are : Features and Step Definition

A)
Steps
B)
Pages
C)
Scenarios
D)
Books

Correct Answer :   Scenarios

A)
Writes code in a computer-readable way
B)
Checks reliability of computer codes
C)
Provides simple documentation of the code under test
D)
Translates computer codes for people to understand them

Correct Answer :   Translates computer codes for people to understand them

A)
JBehave
B)
Specflow
C)
Cucumberwrong
D)
All of the above

Correct Answer :   All of the above

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

Correct Answer :   step definition


Explanation : A step definition is the actual code implementation of the feature mentioned in the feature file.

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

Correct Answer :   successful step


Explanation : When Cucumber finds a matching Step Definition it will execute it. If the block in the step definition doesn’t raise an Exception, the step is marked as successful (green).

A)
True
B)
False
C)
None of the above
D)
--

Correct Answer :   True

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

Correct Answer :   Unit Testing

A)
Group scenarios
B)
Logically group (OR & AND)
C)
Ignore scenarios from execution
D)
All of the above

Correct Answer :   All of the above

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

Correct Answer :   And


Explanation : And is used to combine two or more same type of action.

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

Correct Answer :   #


Explanation : Cucumber allows you to precede Feature and Scenario keywords with comments. Comments will be denoted with #.

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

Correct Answer :   Tags


Explanation : Tags are the sticky notes you have put on pages you want to be able to find easily.

A)
Cucumber
B)
IDE like ActiveState
C)
Ruby and its Development Kit
D)
All of the above

Correct Answer :   All of the above

A)
Cucumber acceptance tests are written from user's perspective
B)
Tests are written in plain-text English so people with less technical skills can also write scenarios
C)
Team Collaboration (Product owners, business analysts, developers, testers are all involved in writing scenarios)
D)
All of the above

Correct Answer :   All of the above

A)
2001
B)
2004
C)
2008
D)
2010

Correct Answer :   2008


Explanation : Cucumber is an open-source software test automation framework for behavior-driven development. It uses a business-readable, domain-specific language called Gherkin for specifying feature behaviors that become tests.

The Cucumber project started in 2008 when Aslak Hellesøy released the first version of the Cucumber framework for Ruby.

A)
.doc
B)
.feature
C)
.closure
D)
.property

Correct Answer :   .feature

A)
Aslak Hellesoy
B)
Joseph Wilk
C)
Gregory Hnatiuk
D)
All of the above

Correct Answer :   All of the above


Explanation : Cucumber (software) Developer(s) are : Aslak Hellesøy, Joseph Wilk, Matt Wynne, Gregory Hnatiuk, Mike Sassak

A)
Jbehave is Java-based and Cucumber is Ruby-based
B)
Jbehave is story-driven whereas the Cucumber is feature-driven
C)
Both (A) and (B)
D)
None of the above

Correct Answer :   Both (A) and (B)

A)
Before
B)
AfterTest
C)
BeforeTest
D)
AfterSuite

Correct Answer :   Before

A)
HTML
B)
JUnit
C)
JSON
D)
All of the above

Correct Answer :   All of the above

A)
It makes use of a feature file which describes the test cases in plain text format
B)
Here you write tests in simple English. And later use the Selenium Webdriver to run the test scripts
C)
Cucumber is a testing framework to run acceptance test cases. It creates scripts using the BDD approach
D)
All of the above

Correct Answer :   All of the above

A)
Given
B)
Feature
C)
Scenario Outline
D)
Scenario

Correct Answer :   Scenario Outline

A)
Tab
B)
Tool
C)
Vegetable
D)
TDD Framework

Correct Answer :   tool

A)
DryRun
B)
Format
C)
Strict
D)
MonoChrome

Correct Answer :   DryRun

A)
Hybrid Testing Framework
B)
Data Driven Testing Framework
C)
Keyword Driven Testing Framework
D)
All of the above

Correct Answer :   All of the above

A)
2
B)
3
C)
4
D)
5

Correct Answer :   3

A)
BDD
B)
ATDD
C)
TDD
D)
Hooks

Correct Answer :   TDD

A)
C
B)
.Net
C)
Ruby
D)
Python

Correct Answer :   C

A)
BDD
B)
TDD
C)
ATDD
D)
None of the above

Correct Answer :   BDD

A)
HTML
B)
JSON
C)
JUnit
D)
WWW

Correct Answer :   WWW

A)
SpecFlow
B)
Concordat
C)
JBehave
D)
Concordion

Correct Answer :   Concordat

A)
Cucumber test proxy status
B)
Cucumber tests web page safety
C)
Cucumber tests other software
D)
Cucumber tests software for phishing malware

Correct Answer :   Cucumber tests other software

A)
Ginger
B)
Gherkin
C)
Salad
D)
Salad

Correct Answer :   Gherkin

A)
Product Owner
B)
Tester
C)
Developer
D)
Project Manager

Correct Answer :   Product Owner