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 : Option (D) :   All of the above

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

Correct Answer : Option (C) :   Ruby

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

Correct Answer : Option (B) :   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 : Option (C) :   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 : Option (D) :   Translates computer codes for people to understand them

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

Correct Answer : Option (D) :   All of the above

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

Correct Answer : Option (A) :   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 : Option (B) :   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 : Option (A) :   True

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

Correct Answer : Option (C) :   Unit Testing