Modify ↓
Ticket #184 (closed defect: fixed)
PlainPHPUnit3ResultFormatter filteres test in stack trace
| Reported by: | Oz Solomon | Owned by: | 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
Note: See
TracTickets for help on using
tickets.

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