API Docs for: 0.0.9
Show:

Dalek Class

Defined in: lib/dalek.js:113
Module: DalekJS

Daleks base module Used to configure all the things and to start off the tests

Methods

_addReporter

(
  • reporter
)
private chainable

Defined in lib/dalek.js:249

Adds a reporter

Parameters:

  • reporter String

    Name of the reporter to add

_initDriver

() private chainable

Defined in lib/dalek.js:282

Initizializes the driver instances

_initialize

() private chainable

Defined in lib/dalek.js:211

Sets up system env properties

_onReportAssertion

(
  • assertion
)
private chainable

Defined in lib/dalek.js:263

Updates the assertion state

Parameters:

  • assertion Object

    Informations aout the runned assertions

_registerExceptionHandler

() private chainable

Defined in lib/dalek.js:316

Make sure to shutdown dalek & its spawned components, webservers gracefully if a runtime error pops up

_setupDriverEmitter

() private chainable

Defined in lib/dalek.js:301

Sets up the event dispatcher for driver events

_setupReporters

() private chainable

Defined in lib/dalek.js:232

Sets up all the reporters

_shutdown

(
  • exception
)
private

Defined in lib/dalek.js:332

Shutdown on uncaught exception

Parameters:

  • exception Object

    Runtime exception

normalizeOptions

(
  • options
)
Object

Defined in lib/dalek.js:193

Normalizes options

Parameters:

  • options Object

    Raw options

Returns:

Object:

Normalized options

reportRunFinished

() chainable

Defined in lib/dalek.js:162

Reports the all testsuites executed event

run

() chainable

Defined in lib/dalek.js:124

Runs the configured testsuites

testsuitesFinished

() chainable

Defined in lib/dalek.js:149

Reports the all testsuites executed event