API Docs for: 0.9.3
Show:

PlainClientDecorator Class

Constructor

PlainClientDecorator

()

Methods

complete

()

Reporting is completed

getConfiguration

() Object

Gets the client-decorator configuration

Returns:

getEventReporter

() Object

Gets the event-reporter

Returns:

getOptions

() Object

Gets the options

Returns:

initialize

()

Initializes the instance

itemData

(
  • id
  • json
)

Called when any item has custom data

Parameters:

itemMessage

(
  • id
  • message
)

Called when any item has a custom message

Parameters:

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:

start

()

Called when reporting starts

stop

()

Called when reporting stops

suiteEnd

(
  • id
)

Called when suite ends

Parameters:

suiteStart

(
  • id
  • parentId
  • suiteName
)

Called when suite starts

Parameters:

testError

(
  • id
  • [message]
  • [reason]
)

Called when test has an error

Parameters:

testFailed

(
  • id
  • [message]
  • [reason]
)

Called when test fails

Parameters:

testIncomplete

(
  • id
)

Called when test is incomplete

Parameters:

testPassed

(
  • id
)

Called when test has passed

Parameters:

testSkipped

(
  • id
  • [reason]
)

Called when test is skipped

Parameters:

testStart

(
  • id
  • parentId
  • testName
)

Called when test starts

Parameters:

testUndefined

(
  • id
)

Called when test is undefined

Parameters: