Modify ↓
Opened 2 years ago
Closed 2 years ago
#608 closed enhancement (fixed)
Tweak test failure message from PHPUnitTask
| Reported by: | Tim Gerundt | Owned by: | mrook |
|---|---|---|---|
| Priority: | major | Milestone: | 2.4.6 |
| Component: | phing-tasks-phpunit | Version: | 2.4.4 |
| Keywords: | Cc: |
Description
I had the problem, that a unit test from a test case had an error and a other test was incomplete.
Unfortunately shows me phing only the last message from the incomplete test and not the more important error.
This patch fix the problem by adding the functions getLastErrorMessage(), getLastIncompleteMessage() and getLastSkippedMessage() to the PHPUnitTestRunner class. The class PHPUnitTask use this functions to return the last message depending on the return code from the PHPUnitTestRunner.
Greetings, Tim Gerundt <tim at gerundt.de>
Attachments (1)
Change History (4)
Changed 2 years ago by Tim Gerundt
comment:1 Changed 2 years ago by mrook
- Milestone changed from TBD to 2.4.6
comment:2 Changed 2 years ago by mrook
comment:3 Changed 2 years ago by mrook
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.

patch for ticket #608