From 376a5af2d258f87e2be75b667850436987c68a55 Mon Sep 17 00:00:00 2001 From: knut <> Date: Tue, 29 May 2007 20:29:10 +0000 Subject: upgraded unit test suite to use PHPUnit3 use "cd tests/; phpunit AllTests.php" to run the tests use "cd tests/; phpunit --report=coverage AllTests.php" to get a nice code coverage report (need xdebug) --- tests/unit/AllTests.php | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 tests/unit/AllTests.php (limited to 'tests/unit/AllTests.php') diff --git a/tests/unit/AllTests.php b/tests/unit/AllTests.php new file mode 100644 index 00000000..38096801 --- /dev/null +++ b/tests/unit/AllTests.php @@ -0,0 +1,39 @@ +addTest(Xml_AllTests::suite()); + $suite->addTest(Collections_AllTests::suite()); + $suite->addTest(I18N_core_AllTests::suite()); + $suite->addTest(Web_AllTests::suite()); + $suite->addTest(Web_UI_WebControls_AllTests::suite()); + + $suite->addTestSuite('TComponentTest'); + + return $suite; + } +} + +if(PHPUnit_MAIN_METHOD == 'AllTests::main') { + AllTests::main(); +} +?> -- cgit v1.2.3