PHPUnit_TestResult PHPUnit::&run (&$suite)
PHPUnit_TestResult PHPUnit::&run
Executes the given test suite
&$suite - an object of PHPUnit_TestSuite
&PHPUnit_Result - A reference to a PHPUnit_Result object
$suite = New PHPUnit_TestSuite('Mathtest'); $result = PHPUnit::run($suite); echo $result->toHtml();