constructor PEAR_RunTest::PEAR_RunTest

constructor PEAR_RunTest::PEAR_RunTest() – Instantiate a PEAR_RunTest object.


require_once '/RunTest.php';

void constructor PEAR_RunTest::PEAR_RunTest ( PEAR_Common|null $logger = null , array $options = array() )


If no logger is specified, a new PEAR_Common object will be instantiated and used to print output to the screen.


PEAR_Common|NULL $logger

A class that contains a log() method matching the signature of PEAR_Common.

array $options

Currently supported options are simple and quiet. The simple option causes tests to simply print the title of the test and not the full path to the test file. The quiet option causes output of only failed tests.


throws no exceptions thrown


This function can not be called statically.

Simplified version of PHP's test suite (Previous) generate_diff (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.