Class ThreadLifeCycleListener

The Lifecycle listener used to send data from the tests threads to the main thread

class ThreadLifeCycleListener
  : LifeCycleListeners ;

Fields

NameTypeDescription
instance LifeCycleListenersThe global instange.

Properties

NameTypeDescription
isRunning[get] boolTrue if the tests are being executed
runningTest[get] stringReturn an unique name for the current running test. If there is no test running it will return an empty string

Methods

NameDescription
add Add a listener to the collection
attach Send the attachment to all listeners
begin Send the begin run event to all listeners
begin Send the begin suite event to all listeners
begin Send the begin test event to all listeners
begin Send the begin step event to all listeners
beginExecution Send the begin execution with the test case list to the executor listener
end Send the end runer event to all listeners
end Send the end suite event to all listeners
end Send the end test event to all listeners
end Send the end step event to all listeners
endExecution Send the end execution the executor listener
execute Send the execute test to the executor listener
getTestCases
update Send the update event to all listeners