API Docs for: 0.9.1
Show:

EventReporter Class

Constructor

EventReporter

()

Methods

complete

()

Inherited from AbstractReporter but overwritten in lib/reporter/event.js:72

Reporting is completed

console

(
  • id
  • msgType
  • msg
)

Sends data to stdout

Parameters:

getConfiguration

() Object

Gets the configuration supplied

Returns:

getContainer

() ReportContainer

Gets the container

Returns:

getOptions

() Object

Gets the options

Returns:

getOutput

() String

Gets the collected output

Returns:

getPath

() String

Output path

Returns:

getType

() String

Gets the type of reporter

Returns:

initialize

()

Inherited from AbstractReporter but overwritten in lib/reporter/event.js:38

Initializes the instance

itemData

(
  • id
  • json
)

Inherited from AbstractReporter but overwritten in lib/reporter/event.js:82

Called when any item has custom data

Parameters:

itemMessage

(
  • id
  • message
)

Inherited from AbstractReporter but overwritten in lib/reporter/event.js:94

Called when any item has a custom message

Parameters:

output

(
  • data
)

Outputs data to stdout

Parameters:

shouldOutput

() Boolean

Should the reporter output the data?

Returns:

shouldShowProgress

() Boolean

Should the reporter show progress?

Returns:

start

()

Inherited from AbstractReporter but overwritten in lib/reporter/event.js:53

Called when reporting starts

stop

()

Inherited from AbstractReporter but overwritten in lib/reporter/event.js:62

Called when reporting stops

suiteEnd

(
  • id
)

Inherited from AbstractReporter but overwritten in lib/reporter/event.js:120

Called when suite ends

Parameters:

suiteStart

(
  • id
  • parentId
  • suiteName
)

Inherited from AbstractReporter but overwritten in lib/reporter/event.js:107

Called when suite starts

Parameters:

testError

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

Inherited from AbstractReporter but overwritten in lib/reporter/event.js:159

Called when test has an error

Parameters:

testFailed

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

Inherited from AbstractReporter but overwritten in lib/reporter/event.js:146

Called when test fails

Parameters:

testIncomplete

(
  • id
)

Inherited from AbstractReporter but overwritten in lib/reporter/event.js:206

Called when test is incomplete

Parameters:

testPassed

(
  • id
)

Inherited from AbstractReporter but overwritten in lib/reporter/event.js:172

Called when test has passed

Parameters:

testSkipped

(
  • id
  • [reason]
)

Inherited from AbstractReporter but overwritten in lib/reporter/event.js:194

Called when test is skipped

Parameters:

testStart

(
  • id
  • parentId
  • testName
)

Inherited from AbstractReporter but overwritten in lib/reporter/event.js:132

Called when test starts

Parameters:

testUndefined

(
  • id
)

Inherited from AbstractReporter but overwritten in lib/reporter/event.js:183

Called when test is undefined

Parameters:

toString

() String

Exports data to a string

Returns:

useColor

() Boolean

Should reporter use color?

Returns:

write

()

Writes the data into an output file