Michael explains why exit() can make parallel test workers crash without useful diagnostics, and why verbose flags do not help when the process dies outside PHPUnit’s control. The fix is simple: throw an exception instead, so the failure is reported normally with a stack trace.

Read more

Categories: PHP