I have a tests, that is broken because it cause PHP error (call to method without param while param is required). Where I call phpunit from command line I get:
PHPUnit 3.2.16 by Sebastian Bergmann.
E
Time: 0 seconds
There was 1 error:
1) testMethod(ClazzTest)
Missing argument 1 for Clazz::method(), called in /home/oleg/workspace/phpunit/ClazzTest.php on line 10 and defined
/home/oleg/workspace/phpunit/Clazz.php:6
/home/oleg/workspace/phpunit/ClazzTest.php:10
FAILURES!
Tests: 1, Errors: 1.
When I call phing test, I get:
Buildfile: /home/oleg/workspace/phpunit/build.xml
[property] Loading /home/oleg/workspace/phpunit/./build.properties
Telme > clean:
[delete] Deleting directory /home/oleg/workspace/phpunit/build
Telme > init:
[mkdir] Created dir: /home/oleg/workspace/phpunit/build
Telme > test:
[mkdir] Created dir: /home/oleg/workspace/phpunit/build/reports
[mkdir] Created dir: /home/oleg/workspace/phpunit/build/reports/tests
[PHP Error] Missing argument 1 for Clazz::method(), called in /home/oleg/workspace/phpunit/ClazzTest.php on line 10 and defined [line 6 of /home/oleg/workspace/phpunit/Clazz.php]
BUILD FINISHED
Total time: 0.1198 seconds
And there is no failures or errors in testsuites.xml.
I attach sample to illustrate the problem