PEAR_RunTest::generate_diff (Previous) (Next) PEAR_Validate

View this page in Last updated: Sun, 31 Aug 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Plain HTML

PEAR_RunTest::run()

PEAR_RunTest::run()  -- run

Description

Run a unit test. The return value is one of:

  • PASSED

  • SKIPPED

  • WARNED

  • FAILED

Parameter

string $file

Full path to the test file to run.

string $ini_settings

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:

$ php -h

Throws

throws no exceptions thrown

Note

This function can not be called statically.

PEAR_RunTest::generate_diff (Previous) (Next) PEAR_Validate

Download Documentation Last updated: Sun, 31 Aug 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.