- add
void add(T listener)
Undocumented in source. Be warned that the author may not have intended to support it.
- begin
void begin(string suite, string test, StepResult step)
Undocumented in source. Be warned that the author may not have intended to support it.
- begin
void begin(string , TestResult test)
Undocumented in source. Be warned that the author may not have intended to support it.
- begin
void begin(ulong )
Undocumented in source. Be warned that the author may not have intended to support it.
- begin
void begin(SuiteResult suite)
Undocumented in source. Be warned that the author may not have intended to support it.
- beginExecution
SuiteResult[] beginExecution(const(TestCase)[] )
Undocumented in source. Be warned that the author may not have intended to support it.
- end
void end(string suite, string test, StepResult step)
Undocumented in source. Be warned that the author may not have intended to support it.
- end
void end(string , TestResult test)
Undocumented in source. Be warned that the author may not have intended to support it.
- end
void end(SuiteResult[] result)
Undocumented in source. Be warned that the author may not have intended to support it.
- end
void end(SuiteResult suite)
Undocumented in source. Be warned that the author may not have intended to support it.
- endExecution
SuiteResult[] endExecution()
Undocumented in source. Be warned that the author may not have intended to support it.
- execute
SuiteResult[] execute(const(TestCase) )
Undocumented in source. Be warned that the author may not have intended to support it.
- instance
LifeCycleListeners instance;
- runningTest
string runningTest [@property getter]
Return an unique name for the current running test. If there is no test running it
will return an empty string
- isRunning
bool isRunning [@property getter]
True if the tests are being executed
- getTestCases
TestCase[] getTestCases()
- add
void add(T listener)
Add a listener to the collection
- attach
void attach(Attachment attachment)
Send the attachment to all listeners
- update
void update()
Send the update event to all listeners
- begin
void begin(ulong testCount)
Send the begin run event to all listeners
- end
void end(SuiteResult[] result)
Send the end runer event to all listeners
- begin
void begin(SuiteResult suite)
Send the begin suite event to all listeners
- end
void end(SuiteResult suite)
Send the end suite event to all listeners
- begin
void begin(string suite, TestResult test)
Send the begin test event to all listeners
- end
void end(string suite, TestResult test)
Send the end test event to all listeners
- begin
void begin(string suite, string test, StepResult step)
Send the begin step event to all listeners
- end
void end(string suite, string test, StepResult step)
Send the end step event to all listeners
- execute
SuiteResult[] execute(const(TestCase) func)
Send the execute test to the executor listener
- beginExecution
SuiteResult[] beginExecution(const(TestCase)[] tests)
Send the begin execution with the test case list to the executor listener
- endExecution
SuiteResult[] endExecution()
Send the end execution the executor listener
The Lifecycle listener used to send data from the tests threads to the main thread