Modify

Ticket #507 (new enhancement)

Opened 20 months ago

Last modified 20 months ago

PHP fatal error during testing crashes PHING

Reported by: FaZend <team@…> Owned by: mrook
Priority: minor Milestone: 2.5.0
Component: phing-core Version: 2.4.1
Keywords: Cc:

Description

When any of PHPUnit test has a fatal PHP error the entire phing process is crashed, no log report is produced (if XML report is required) and the source of problem is very hard to detect.

Would be much better to run PHPUnit testing in a separate PHP process. Maybe this behavior could be configurable from build.xml, something like:

<phpunit php="/usr/local/bin/php">
  <batchtest>
    ...
  </batchtest>
</phpunit>

Thanks.

Attachments

Change History

comment:1 Changed 20 months ago by mrook

  • Priority changed from major to minor
  • Milestone changed from 2.4.2 to 2.5.0

Running tests in separate processes is not trivial, so I'm going to schedule this further up the line.

View

Add a comment

Modify Ticket

Action
as new
Author


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

 
Note: See TracTickets for help on using tickets.