CucumberClient Class
Constructor
CucumberClient
()
Item Index
Methods
_runCucumber
(
private
-
options
-
success
-
failure
Runs the cucumber tests, self-contained
_setupDecorators
(
AbstractClientDecorator[]
private
-
eventReporter
-
decorators
-
decoratorPlugins
Setup decorator plugins
Returns:
getCucumberConfiguration
()
Object
Gets the cucumber configuration Overwrite this function if the cucumber configuration is found somewhere else.
Returns:
getEventReporter
()
EventReporter
Gets the event-reporter
Returns:
EventReporter:
getFunctions
()
Function[]
Gets the functions to execute as part of files to execute
Cucumber Option:
Returns:
getReportManager
()
ReportManager
Gets the report-manager
Returns:
ReportManager:
getRequires
()
String[]
Gets the required file before running the tests Cucumber Option: require
Returns:
initialize
()
Initializes the instance
processAfter
()
Promise
Processes the end of the testing environment
Returns:
Promise:
processAfterTest
()
Promise
Processes the ending of a test
Returns:
Promise:
processBefore
()
Promise
Processes the begin of the testing environment
Returns:
Promise:
processBeforeTest
()
Promise
Processes the beginning of a test
Returns:
Promise:
setCucumberConfiguration
(
-
options
Sets the cucumber configuration Overwrite this function if the cucumber configuration is found somewhere else.
Parameters:
-
options
Object