Package Peach :: Module logger :: Class Logger
[hide private]

Class Logger

source code


Parent class for all logger implementations.

Instance Methods [hide private]
 
OnRunStarting(self, run)
Called when a run is starting.
source code
 
OnRunFinished(self, run)
Called when a run is finished.
source code
 
OnTestStarting(self, run, test, totalVariations)
Called on start of a test.
source code
 
OnTestFinished(self, run, test)
Called on completion of a test.
source code
 
OnTestCaseStarting(self, run, test, variationCount)
Called on start of a test case.
source code
 
OnTestCaseReceived(self, run, test, variationCount, value)
Called when data is received from test case.
source code
 
OnTestCaseException(self, run, test, variationCount, exception)
Called when an exception occurs during a test case.
source code
 
OnTestCaseFinished(self, run, test, variationCount, actionValues)
Called when a test case has completed.
source code
 
OnFault(self, run, test, variationCount, monitorData, value) source code
 
OnStopRun(self, run, test, variationCount, monitorData, value) source code

Inherited from Engine.engine.EngineWatcher: setTotalVariations

Method Details [hide private]

OnRunStarting(self, run)

source code 

Called when a run is starting.

Overrides: Engine.engine.EngineWatcher.OnRunStarting

OnRunFinished(self, run)

source code 

Called when a run is finished.

Overrides: Engine.engine.EngineWatcher.OnRunFinished

OnTestStarting(self, run, test, totalVariations)

source code 

Called on start of a test. Each test has multiple variations.

Overrides: Engine.engine.EngineWatcher.OnTestStarting

OnTestFinished(self, run, test)

source code 

Called on completion of a test.

Overrides: Engine.engine.EngineWatcher.OnTestFinished

OnTestCaseStarting(self, run, test, variationCount)

source code 

Called on start of a test case.

Overrides: Engine.engine.EngineWatcher.OnTestCaseStarting

OnTestCaseReceived(self, run, test, variationCount, value)

source code 

Called when data is received from test case.

Overrides: Engine.engine.EngineWatcher.OnTestCaseReceived

OnTestCaseException(self, run, test, variationCount, exception)

source code 

Called when an exception occurs during a test case.

Overrides: Engine.engine.EngineWatcher.OnTestCaseException

OnTestCaseFinished(self, run, test, variationCount, actionValues)

source code 

Called when a test case has completed.

Overrides: Engine.engine.EngineWatcher.OnTestCaseFinished

OnFault(self, run, test, variationCount, monitorData, value)

source code 
Overrides: Engine.engine.EngineWatcher.OnFault

OnStopRun(self, run, test, variationCount, monitorData, value)

source code 
Overrides: Engine.engine.EngineWatcher.OnStopRun