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/Xml/AllTests.php | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 tests/unit/Xml/AllTests.php (limited to 'tests/unit/Xml/AllTests.php') diff --git a/tests/unit/Xml/AllTests.php b/tests/unit/Xml/AllTests.php new file mode 100644 index 00000000..0760474f --- /dev/null +++ b/tests/unit/Xml/AllTests.php @@ -0,0 +1,31 @@ +addTestSuite('TXmlDocumentTest'); + $suite->addTestSuite('TXmlElementTest'); + $suite->addTestSuite('TXmlElementListTest'); + + return $suite; + } +} + +if(PHPUnit_MAIN_METHOD == 'Xml_AllTests::main') { + Xml_AllTests::main(); +} +?> -- cgit v1.2.3