Extend from this to implement a Monitor. Monitors are run by an Agent
and must operate in an async mannor. Any blocking tasks must be
performed in another thread.
|
|
|
|
|
OnTestStarting(self)
Called right before start of test case or variation |
source code
|
|
|
|
OnTestFinished(self)
Called right after a test case or varation |
source code
|
|
|
|
GetMonitorData(self)
Get any monitored data from a test case. |
source code
|
|
|
|
DetectedFault(self)
Check if a fault was detected. |
source code
|
|
|
|
OnFault(self)
Called when a fault was detected. |
source code
|
|
|
|
OnShutdown(self)
Called when Agent is shutting down, typically at end of a test run or
when a Stop-Run occurs |
source code
|
|
|
|
|