Dalek Class
Daleks base module Used to configure all the things and to start off the tests
Item Index
Methods
_addReporter
(
private
chainable
-
reporter
Adds a reporter
Parameters:
-
reporter
StringName of the reporter to add
_initDriver
()
private
chainable
Initizializes the driver instances
_initialize
()
private
chainable
Sets up system env properties
_onReportAssertion
(
private
chainable
-
assertion
Updates the assertion state
Parameters:
-
assertion
ObjectInformations aout the runned assertions
_registerExceptionHandler
()
private
chainable
Make sure to shutdown dalek & its spawned components, webservers gracefully if a runtime error pops up
_setupDriverEmitter
()
private
chainable
Sets up the event dispatcher for driver events
_setupReporters
()
private
chainable
Sets up all the reporters
_shutdown
(
private
-
exception
Shutdown on uncaught exception
Parameters:
-
exception
ObjectRuntime exception
normalizeOptions
(
Object
-
options
Normalizes options
Parameters:
-
options
ObjectRaw options
Returns:
Object:
Normalized options
reportRunFinished
()
chainable
Reports the all testsuites executed event
run
()
chainable
Runs the configured testsuites
testsuitesFinished
()
chainable
Reports the all testsuites executed event