Ticket #184 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

PlainPHPUnit3ResultFormatter filteres test in stack trace

Reported by: Oz Solomon Assigned to: hans
Priority: major Milestone: 2.3.1
Component: phing-core Version: 2.3.0
Keywords: Cc:

Description

Currently, the PHPUnit formatter removes the test class from the stack trace. This makes it difficult to know where the error is coming from.

Fix:

In PlainPHPUnit3ResultFormatter.php, line 109, change:

$this->inner.= PHPUnit_Util_Filter::getFilteredStackTrace($e) . "\n";

to:

$this->inner.= PHPUnit_Util_Filter::getFilteredStackTrace($e, FALSE) . "\n";

Attachments

Change History

11/08/07 20:23:43 changed by hans

  • status changed from new to closed.
  • resolution set to fixed.

Thank you! This is fixed in r297 (and r298 for trunk).


Add/Change #184 (PlainPHPUnit3ResultFormatter filteres test in stack trace)




Action