|
Main (PHP)
3rd Party Streams
Resources
Code Snippets
Affiliates
|
|
|
|
| |
PHPUnit::run()PHPUnit::run() -- runs a TestSuite and returns a TestResult object. Description
Executes the given test suite
Return value
&PHPUnit_Result - A reference to a
PHPUnit_Result.
ExampleExample 42-1. Using PHPUnit::run() <?php
require_once "PHPUnit.php";
$suite = New PHPUnit_TestSuite('Mathtest');
$result = PHPUnit::run($suite);
echo $result->toHtml();
?> |
|
|
|
|
| |
|
|
|
Top Sponsor
Sponsors
Sponsors
Advertisting
Affiliates
|
|