Skip to content

Close #7: Remove given path to test-dir source in order to make output of…

Torsten requested to merge 7-more-readable-output into master

Close #7: Remove given path to test-dir source in order to make output of Testcase-Summary more readable

Closes #7

This will change the result output from

$ php aphpunit.php ../bounce-management.com/tests/

Testcase-Summary
================

/usr/local/www/bounce-management.com/tests/database/get_header_value_from_Test.php:      5/5 successfull
/usr/local/www/bounce-management.com/tests/database/get_uri_host_Test.php:       4/4 successfull
/usr/local/www/bounce-management.com/tests/database/uri_request_Test.php:        12/12 successfull
/usr/local/www/bounce-management.com/tests/datetime/GetTimestampTest.php:        1/1 successfull
/usr/local/www/bounce-management.com/tests/redirect-rule/StoreRedirectRuleMatchingRequestTest.php:       5/5 successfull
/usr/local/www/bounce-management.com/tests/redirect-rule/StoreRedirectRuleTest.php:      7/7 successfull
/usr/local/www/bounce-management.com/tests/redirect/IsWantedAndStoreMatchesForTest.php:  13/13 successfull
/usr/local/www/bounce-management.com/tests/redirect/StoreAndReturnAimTest.php:   15/15 successfull
/usr/local/www/bounce-management.com/tests/request/GetHeaderTest.php:    4/4 successfull
/usr/local/www/bounce-management.com/tests/request/SendResultTest.php:   1/1 successfull
/usr/local/www/bounce-management.com/tests/request/StoreAndSendResultTest.php:   8/8 successfull
/usr/local/www/bounce-management.com/tests/request/StoreRequestTest.php:         14/14 successfull
/usr/local/www/bounce-management.com/tests/website/GetCookieExpirationDateTest.php:      2/2 successfull

91 from 91 successfull, 0 failures reported

To:

$ php aphpunit.php ../bounce-management.com/tests/

Testcase-Summary
================

/database/get_header_value_from_Test.php:        5/5 successfull
/database/get_uri_host_Test.php:         4/4 successfull
/database/uri_request_Test.php:  12/12 successfull
/datetime/GetTimestampTest.php:  1/1 successfull
/redirect-rule/StoreRedirectRuleMatchingRequestTest.php:         5/5 successfull
/redirect-rule/StoreRedirectRuleTest.php:        7/7 successfull
/redirect/IsWantedAndStoreMatchesForTest.php:    13/13 successfull
/redirect/StoreAndReturnAimTest.php:     15/15 successfull
/request/GetHeaderTest.php:      4/4 successfull
/request/SendResultTest.php:     1/1 successfull
/request/StoreAndSendResultTest.php:     8/8 successfull
/request/StoreRequestTest.php:   14/14 successfull
/website/GetCookieExpirationDateTest.php:        2/2 successfull

91 from 91 successfull, 0 failures reported

Merge request reports