testng-team / testng-googlecode

DEPRECATED: Automatically exported from code.google.com/p/testng
0 stars 0 forks source link

Chronological view of test case report shows incorrect time for @afterMethod method #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1. Define a class (using JDK 1.5 Annotations) with a single @afterMethod
method and multiple @Test methods
2. Run the test case (I'm running it from Ant)

In the chronological view, I expected each execution of the @afterMethod
method to have its own timestamp.  But they all display the timestamp of
the last execution of the @afterMethod method.  I've attached my output. 
Notice how each classes' tearDown method displays the same time and delta
cells.

I'm using the lastest download of TestNG trunk (rev 450), and I'm executing
this on Solaris 9 with Java 1.5.0_09.

I uses a Reporter to confirm that they are being executed correctly, so I
am assuming that this is a reporting issue only.

Original issue reported on code.google.com by Ed.Hillm...@gmail.com on 4 May 2007 at 1:21

Attachments:

GoogleCodeExporter commented 9 years ago
http://github.com/cbeust/testng/commit/fb4edb8bc045e09d28cd1ebdbcf6af3bfc19cc68

Original comment by nalin.ma...@gmail.com on 5 Jul 2010 at 10:16