Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

View tests ordered by their test execution duration?
GreenMoose
#1 Posted : Monday, August 22, 2016 9:53:01 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 6/17/2012(UTC)
Posts: 503

Thanks: 142 times
Was thanked: 66 time(s) in 64 post(s)
v 2.26.0.1/vs2015

Hi,

Is there a way to view tests ordered by their execution time? When I order on the "Last execution time" column it seems to basically show the compile time of the test project, and then when expanding the tests themselves it seems to be in an arbitrary order.

(My scenario is I have quite a few long running tests in a test suite of 12 000+ tests which I want to find and see if I can track down the issues).


Thanks.
GreenMoose
#2 Posted : Monday, August 22, 2016 11:02:51 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 6/17/2012(UTC)
Posts: 503

Thanks: 142 times
Was thanked: 66 time(s) in 64 post(s)
I believe I just found the answer, in "Test structure" combo select the "Test" option and then sort on the "Last execution time" column :)
Remco
#3 Posted : Monday, August 22, 2016 12:57:11 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,976

Thanks: 930 times
Was thanked: 1257 time(s) in 1170 post(s)
GreenMoose;9128 wrote:
I believe I just found the answer, in "Test structure" combo select the "Test" option and then sort on the "Last execution time" column :)


This is exactly the intention. I doubt anyone would use the test only tree structure for anything else :)

Another option is to export to CSV then sort using another tool (like Excel).
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.020 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download