]> src.bluestatic.org Git - viewsvn.git/blob - docs/phpunit/AllTests.php
- Making it so the last component in ConstructNavbar() doesn't work as a link
[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('config.php');
10 require_once('/Server/htdocs/tools/ISI_PHPUnit2_Output_HTML_Listener.php');
11 require_once('PHPUnit2/TextUI/ResultPrinter.php');
12
13 // setup the new test suite
14 $result = new PHPUnit2_Framework_TestResult;
15 $result->addListener(new ISI_PHPUnit2_Output_HTML_Listener);
16 $suite = new PHPUnit2_Framework_TestSuite;
17
18 // load tests
19 $suite->addTestFile('ApplicationControllerTest.php');
20
21 // run all the tests
22 $suite->run($result);
23
24 ?>