Modify ↓
Ticket #507 (new enhancement)
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
Note: See
TracTickets for help on using
tickets.

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