I've been running a few thousand phpunit tests recently. I use --process-isolation
option so it takes some 40 minutes for tests to complete.
Sometimes after an aggressive refactoring a lot of tests start failing (thanks God I have the tests !). And if a test fails in the middle of a test suite then I have to wait 20 more minutes to see what test it is and it's message.
I would use --stop-on-failure
if didn't interrupt the whole process. Basically I'm looking for --log-on-failure
option.
What I'm looking for exactly is some way to see the fail/error message of the test right after it failed and not after all other tests are finished. But the whole process of other tests execution should not be interrupted. Logging to a file will suffice as well.
I'll appreciate your suggestions.
EDIT: I'm glad to see your suggestions how I could improve my testing in general and I will try to follow them, however I would like to find a solution to my exact problem.
--verbose
? – Prisoner Jan 29 '13 at 10:16