API Docs for: 0.9.3
Show:

CucumberTask Class

Constructor

CucumberTask

()

Methods

_run

(
  • parentId
)
Promise private

Inherited from AbstractTask but overwritten in lib/task/cucumber.js:158

Run the client

Parameters:

Returns:

Promise:

augment

()

Augments the data with default values

getClientDecoratorPlugins

() Object[]

Gets all client-decorator plugins

Returns:

getConfiguration

() Object

Gets the client configuration

Returns:

getCoverageCollector

() Collector

Gets the coverage collector

Returns:

Collector:

getCucumberConfiguration

() Object

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

Returns:

getDecorators

() Object[]

Gets the decorator list

Returns:

getFunctions

() 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:

getGlobalConfig

() Object

Gets the global configuration

Returns:

getLabel

() String

Gets the label of the task

Returns:

getName

() String

Gets the name of the preceptor task

Returns:

getOptions

() Object

Gets the options

Returns:

getPath

() String

Gets the path to the text files Cucumber Option:

Returns:

getPlugins

() Object

Gets all plugins

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:

getTaskDecoratorPlugins

() AbstractTaskDecorator[]

Gets all options-decorator plugins

getTaskId

() String

Gets a unique id for the task

Returns:

getTaskPlugin

(
  • name
)
AbstractTask

Gets a specific task plugin

Parameters:

Returns:

getTitle

() String

Gets the title of the preceptor task

Returns:

getType

() String

Gets the type of the preceptor task

Returns:

inDebug

() Boolean

Is the task in debug-mode?

Returns:

initialize

()

Inherited from AbstractTask but overwritten in lib/task/cucumber.js:17

Initializes the instance

isActive

() Boolean

Is the task active?

Returns:

isSuite

() Boolean

Run tasks in a suite?

Returns:

isVerbose

() Boolean

Is the task verbose?

Returns:

run

(
  • parentId
)
Promise

Run the task

Parameters:

Returns:

Promise:

runClient

(
  • parentId
  • clientPath
)
Promise

Runs the client in a forked environment

Parameters:

Returns:

Promise:

setCucumberConfiguration

(
  • options
)

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

Parameters:

shouldEchoStdErr

() Boolean

Echo std-err output of child-process?

Returns:

shouldEchoStdOut

() Boolean

Echo std-out output of child-process?

Returns:

shouldFailOnError

() Boolean

Should task fail on error?

Returns:

shouldOutputCoffeeScript

() Boolean

Should output in coffee-script? Cucumber Option: coffee

Returns:

shouldReport

() Boolean

Should report?

Returns:

validate

()

Inherited from AbstractTask but overwritten in lib/task/cucumber.js:39

Validates the given data