Class ThreadLifeCycleListener
The Lifecycle listener used to send data from the tests threads to the main thread
Methods
| Name | Description |
|---|---|
proxy
()
|
The proxy of the executor that runs the current thread's test |
add
(listener)
|
Add a listener to the collection |
attach
(attachment)
|
Send the attachment to all listeners |
begin
(testCount)
|
Send the begin run event to all listeners |
begin
(suite)
|
Send the begin suite event to all listeners |
begin
(suite, test)
|
Send the begin test event to all listeners |
begin
(suite, test, step)
|
Send the begin step event to all listeners |
beginExecution
(tests)
|
Send the begin execution with the test case list to the executor listener |
end
(result)
|
Send the end runer event to all listeners |
end
(suite)
|
Send the end suite event to all listeners |
end
(suite, test)
|
Send the end test event to all listeners |
end
(suite, test, step)
|
Send the end step event to all listeners |
endExecution
()
|
Send the end execution the executor listener |
execute
(func)
|
Send the execute test to the executor listener |
getTestCases
()
|
|
isRunning
()
|
True if the tests are being executed |
runningTest
()
|
Return an unique name for the current running test. If there is no test running it will return an empty string |
update
()
|
Send the update event to all listeners |