API Docs for: 0.9.3
Show:

CucumberClient Class

Constructor

CucumberClient

()

Methods

_runCucumber

(
  • options
  • success
  • failure
)
private

Runs the cucumber tests, self-contained

Parameters:

_setupDecorators

(
  • eventReporter
  • decorators
  • decoratorPlugins
)
AbstractClientDecorator[] private

Setup decorator plugins

Parameters:

  • eventReporter EventReporter
  • decorators Object[]
  • decoratorPlugins Object

getCucumberConfiguration

() Object

Gets the cucumber configuration Overwrite this function if the cucumber configuration is found somewhere else.

Returns:

getDecorator

() AbstractClientDecorator[]

Gets the decorator

getEventReporter

() EventReporter

Gets the event-reporter

Returns:

EventReporter:

getFormat

() String

Gets the output format for cucumber Cucumber Option: format

Returns:

getFunctions

() Function[]

Gets the functions to execute as part of files to execute Cucumber Option:

Returns:

getOptions

() Object

Gets the options

Returns:

getPath

() String

Gets the path to the text files 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:

getTags

() String[]

Gets the tags to include/exclude Cucumber Option: tags

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:

run

(
  • parentId
)
Promise

Inherited from AbstractClient but overwritten in lib/task/client/cucumber.js:157

Execute client

Parameters:

Returns:

Promise:

setCucumberConfiguration

(
  • options
)

Sets the cucumber configuration Overwrite this function if the cucumber configuration is found somewhere else.

Parameters:

shouldOutputCoffeeScript

() Boolean

Should output in coffee-script? Cucumber Option: coffee

Returns: