Modify

Ticket #184 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

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

comment:1 Changed 4 years ago by hans

  • Status changed from new to closed
  • Resolution set to fixed

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

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.