Renaming the test file
[viewsvn.git] / docs / phpunit / AllTests.php
1 <?php
2
3 // load the test harness
4 require_once('PHPUnit2/Framework/TestSuite.php');
5 require_once('PHPUnit2/TextUI/TestRunner.php');
6 require_once('PHPUnit2/Framework/Warning.php');
7 require_once('PHPUnit2/Framework/IncompleteTestError.php');
8
9 // setup the new test suite
10 $suite = new PHPUnit2_Framework_TestSuite;
11
12 // load tests
13 $suite->addTestFile('ApplicationControllerTest.php');
14
15 // run all the tests
16 PHPUnit2_TextUI_TestRunner::run($suite);
17
18 ?>