how to log failures in php unit?

Posted by user187809 on Stack Overflow See other posts from Stack Overflow or by user187809
Published on 2010-06-09T21:30:08Z Indexed on 2010/06/09 21:32 UTC
Read the original article Hit count: 131

Filed under:

How to log only failures in an external file, from php unit? I want the complete information, including actual value, expected value, line number etc. Right now I am using fwrite and logging all pass and fail tests into a file, is there a better way to do it?

© Stack Overflow or respective owner

Related posts about phpunit