|
|
(Next) PHPUnit::TestCase |
||||
| |
|||||
|
|||||
object PHPUnit::run (
object $suite
)
Executes the given test suite
object $suite - an object of PHPUnit_TestSuite
&PHPUnit_Result - A reference to a PHPUnit_Result.
Using PHPUnit::run()
<?php
require_once "PHPUnit.php";
$suite = New PHPUnit_TestSuite('Mathtest');
$result = PHPUnit::run($suite);
echo $result->toHtml();
?>
|
|
(Next) PHPUnit::TestCase |
||||||||
| |
|||||||||
|
|||||||||