Displaying time to run junit test

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Displaying time to run junit test

omairkhawaja
It would be useful if the hudson unit test report could display the amount of time taken to run a unit test.  Packages could display the total time taken to run each of the child tests and the children could display individual running times...  Is there a feature request opened for this?
Reply | Threaded
Open this post in threaded view
|

Re: Displaying time to run junit test

Kohsuke Kawaguchi
Administrator
omairkhawaja wrote:
> It would be useful if the hudson unit test report could display the amount of
> time taken to run a unit test.  Packages could display the total time taken
> to run each of the child tests and the children could display individual
> running times...  Is there a feature request opened for this?

No, I don't think so. Is this information available in Ant JUnit report XML?

--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]

smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Displaying time to run junit test

Stephen Connolly-2
Kohsuke Kawaguchi wrote:

> omairkhawaja wrote:
>> It would be useful if the hudson unit test report could display the
>> amount of
>> time taken to run a unit test.  Packages could display the total time
>> taken
>> to run each of the child tests and the children could display individual
>> running times...  Is there a feature request opened for this?
>
> No, I don't think so. Is this information available in Ant JUnit
> report XML?
>
I think the information is availible (at least for each unit test).

It's very important info to have (although the JUnit report seems to
only time the actual testXXX method and not the setUp and tearDown
methods... which can be annoying for one project of ours where the unit
tests are more like integration tests)

-Stephen

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Displaying time to run junit test

Kohsuke Kawaguchi
Administrator
Stephen Connolly wrote:
> I think the information is availible (at least for each unit test).
>
> It's very important info to have (although the JUnit report seems to
> only time the actual testXXX method and not the setUp and tearDown
> methods... which can be annoying for one project of ours where the unit
> tests are more like integration tests)

OK. Thanks. I filed #656 to keep track of this.


--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]

smime.p7s (4K) Download Attachment