Modify ↓
Ticket #510 (closed defect: fixed)
to show test name when testing fails
| Reported by: | FaZend <team@…> | Owned by: | mrook |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.4.3 |
| Component: | phing-core | Version: | 2.4.1 |
| Keywords: | Cc: |
Description
This is what I'm getting when my testing fails:
… skipped ...
Execution of target "test" failed for the following reason:
/code/p/build.xml:185:12: /code/p/build.xml:204:32: Test
INCOMPLETE (testRenderingWorks):
[phing] /code/p/build.xml:185:12: /code/p/build.xml:204:32:
Test INCOMPLETE (testRenderingWorks):
Execution of target "main" failed for the following reason:
/code/p/build.xml:37:8: Execution of the target buildfile failed. Aborting.
BUILD FAILED
/code/p/build.xml:37:8: Execution of the target buildfile failed. Aborting.
Total time: 2 minutes 59.53 seconds
Using this information I can't understand what is the name (or file name) of test that failed. I just see the name of the method (testRenderingWorks). Would be great if we can see the name of the file/test as well. Thanks.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

Besides that, when I have two tests in the entire fileset, and the first one fails and the second one is INCOMPLETE (as in the example above), I'm getting a message about the second test. Which is not correct and makes problem, because I can't understand which test really failed the suite.