Code below shows a cut-down version of original XML_Util/tests/AllTests.php (1.2.1)
We will replace the highlihted yellow line as follow (lines 6-7) :
To run all the tests that are declared in XML_Util_AllTests::suite()
we can use the following command:
php path/to/XML_Util/AllTests.php --configuration /path/to/phpunit.xml PHPUnit 3.3.16 by Sebastian Bergmann. .................. Time: 6 seconds OK (18 tests, 0 assertions)
You will find text file as defined in phpunit.xml
(line 4),
with a following cut-down version.
Jun 05 19:43:05 XML_Util_AllTests [info] TestSuite 'XML_Util Full Suite of Unit Tests' started. Jun 05 19:43:05 XML_Util_AllTests [info] TestSuite 'C:\wamp\bin\php\php5.2.9-2\tests\XML_Util\tests' started. Jun 05 19:43:05 XML_Util_AllTests [info] Test 'C:\wamp\bin\php\php5.2.9-2\tests\XML_Util\tests\testBasic_apiVersion.phpt' started. Jun 05 19:43:05 XML_Util_AllTests [info] Test 'C:\wamp\bin\php\php5.2.9-2\tests\XML_Util\tests\testBasic_apiVersion.phpt' ended. ... more ... Jun 05 19:43:11 XML_Util_AllTests [info] Test 'C:\wamp\bin\php\php5.2.9-2\tests\XML_Util\tests\testBug_5392.phpt' started. Jun 05 19:43:11 XML_Util_AllTests [info] Test 'C:\wamp\bin\php\php5.2.9-2\tests\XML_Util\tests\testBug_5392.phpt' ended. Jun 05 19:43:11 XML_Util_AllTests [info] TestSuite 'C:\wamp\bin\php\php5.2.9-2\tests\XML_Util\tests' ended. Jun 05 19:43:11 XML_Util_AllTests [info] TestSuite 'XML_Util Full Suite of Unit Tests' ended. Jun 05 19:43:11 XML_Util_AllTests [notice] TestSuite was successful. Tests: 18.