100% found this document useful (1 vote)
1K views3 pages

Cucumber

This document contains questions and answers about various programming concepts like Redux actions, Cucumber testing, regular expressions, and BDD testing tags. Key topics covered include defining action objects in Redux, using the dispatch function, defining executable test files in Cucumber, using tags to group Cucumber tests, and writing regular expressions to match random digits and characters.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
1K views3 pages

Cucumber

This document contains questions and answers about various programming concepts like Redux actions, Cucumber testing, regular expressions, and BDD testing tags. Key topics covered include defining action objects in Redux, using the dispatch function, defining executable test files in Cucumber, using tags to group Cucumber tests, and writing regular expressions to match random digits and characters.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
You are on page 1/ 3

Which of the following Action Objects are

syntactically correct?
{ type: 'ADD_TODO’,text }

Action Creators in Redux

all the options

Which of the following functions can be used to


dispatch actions in Redux?
all the options

What is the input for the dispatch function?


high order action creator not correct

Actions in Redux
dispatch to the store

In Redux Action Types have to be defined as


Strings.
true

What is the input for the dispatch function?


action object

Command to run the Cucumber file


is _____________.
1.
2. @RunWith( Cucumber.class )
3.
4. To define the executable java file we call it
in _________.

To define the executable java file we call it


in _________.

@CucumberOptions

But is used to __________.


remove then

Maven command to create Java project is

1. mvn archetype:generate -DgroupId=com.mycompany.app


-DartifactId=my-app -DarchetypeArtifactId=maven-archetype-
quickstart -DarchetypeVersion=1.4 -DinteractiveMode=false
And is used to ___________.

remove repeated given

Command to run the Cucumber file


is _____________.
@RunWith(Cucumber.class)

To define the random digit, _____.


\\d+

To match random character digit, ______________.


.*

To get random variable

(?:love|hate|like)
Tag is used for ________.
All these options are true.

In our script file @Given ends with ___.


$

In our script file @Given starts with ___.

To get random variable

You might also like