Skip to content
AugustusKling edited this page Nov 13, 2011 · 1 revision

Log listeners are called during test execution to be able to record the test progress and the outcomes. If your bootstrapping code does not change it, log messages are written to the console (standard output device). To use a different logger, overwrite getListener in your bootstrapping.

Log messages can be handles by any subclass of RudimentaryPhpTest_Listener. Additional to the console logger there is a logger for a XML format (as used by other test frameworks and continuous integration systems) and and a logger for using multiple loggers simultaneously (RudimentaryPhpTest_Listener_Spreader).

Clone this wiki locally