Show PHPUnit details with TAP

TAP or Test Anything Protocol (a simple text-based interface between testing modules) is also available for PHPUnit. You can use it to show details with the flag --tap:

$ phpunit --tap

Which will result in an output like the following:

TAP version 13
ok 1 - newArrayIsEmptyTest(ArrayTest)
ok 2 - arrayContainsAnElementTest(ArrayTest)
1..2

This is especially usefull when you've got tests in your test run which were marked as RISKY. With this output you can find out which ones they are.