Modify

Ticket #510 (closed defect: fixed)

Opened 20 months ago

Last modified 17 months ago

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

comment:1 Changed 20 months ago by FaZend <team@…>

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.

comment:2 Changed 20 months ago by mrook

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

comment:3 Changed 17 months ago by mrook

(In [842]) Refs #510 - show class name of failed test

comment:4 Changed 17 months ago by mrook

  • Status changed from new to closed
  • Resolution set to fixed
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.