Trend Nxt Behavior Driven Development | BDD | Question and Answers

Behavior Driven Development | BDD | Mock Test

1
Which of these we do NOT need to run a Cucumber Web Test?
a. Gems
b. Ruby
c. Watir
d. Hooks

Answer : Hooks

2
Which file cannot be used to import data into Ruby Cucumber?
a. Excel
b. JS file
c. CSV file
d. Property file
Answer : JS file

3
Which of the following gem is required for accessing an CSV file?
a. signet
b. csv
c. uuidtools
d. redcard
Answer : csv

4
Which of the following gem is required for accessing an Excel file?
a. Which of the following gem is required for accessing an Excel file?
b. extlib
c. Win32OLE
d. yaml
Answer : Win32OLE

5
BDD stands for?
a. Behave Driven Design
b. Behave Driven Development
c. Behaviour Driven Design
d. Behaviour Driven Development
Answer : Behaviour Driven Development

6
Which of the following is not a Agile methodology?
a. Sprint
b. Scrum
c. Product Backlog
d. BDD
Answer : BDD

7
Which of the following is not a keyword in Cucumber?
a. Given
b. Then
c. When
d. Also
Answer : Also

8
Which one of the following is not a specification file?
a. spec
b. rspec
c. mspec
d. nspec
Answer : nspec

9
Which keyword is used to call a library file in your script?
a. import
b. include
c. require
d. call
Answer : require

10
Which of the following is NOT a webDriver in Cucumber?
a. Watir
b. Selenium
c. Poltergeist
d. Phantom
Answer : Phantom