Remove the arraytest from the suite
[viewsvn.git] / docs / phpunit / AllTests.php
1 <?php
2
3 // load the test harness
4 require_once('PHPUnit2/Framework/TestResult.php');
5 require_once('PHPUnit2/Framework/TestSuite.php');
6 require_once('PHPUnit2/Framework/Warning.php');
7 require_once('PHPUnit2/Framework/IncompleteTestError.php');
8
9 require_once('/Server/htdocs/tools/ISI_PHPUnit2_Output_HTML_Listener.php');
10 require_once('PHPUnit2/TextUI/ResultPrinter.php');
11
12 // setup the new test suite
13 $result = new PHPUnit2_Framework_TestResult;
14 $result->addListener(new ISI_PHPUnit2_Output_HTML_Listener);
15 $suite = new PHPUnit2_Framework_TestSuite;
16
17 // load tests
18 $suite->addTestFile('ApplicationControllerTest.php');
19
20 // run all the tests
21 $suite->run($result);
22
23 ?>