constructor PEAR_RunTest::PEAR_RunTest
Synopsis
void constructor
PEAR_RunTest::PEAR_RunTest
(
PEAR_Common|null
$logger
= null
,
array
$options = array()
)
Description
If no logger is specified, a new PEAR_Common object will be instantiated and used to print output to the screen.
Parameter
-
PEAR_Common|NULL
$logger
-
A class that contains a log() method matching the signature of PEAR_Common.
-
array
$options
-
Currently supported options are
simple
andquiet
. Thesimple
option causes tests to simply print the title of the test and not the full path to the test file. Thequiet
option causes output of only failed tests.
Throws
throws no exceptions thrown
Note
This function can not be called statically.