PEAR | PEAR_Validate |
PEAR | |
PEAR Manual | |
require_once '/RunTest.php'; |
string|PEAR_Error
PEAR_RunTest::run
(
string
$file
,
string
$ini_settings = ''
)
Run a unit test. The return value is one of:
PASSED
SKIPPED
WARNED
FAILED
Full path to the test file to run.
Additional customized settings to pass on the command-line to the PHP instance used for testing. For example, requesting disabling use of php.ini or a testing php.ini can be specified. For a full list of possible settings, type:
|
throws no exceptions thrown
This function can not be called statically.
PEAR | PEAR_Validate |
PEAR | |
PEAR Manual | |