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

Notification

Icon
Error

Queue in more tests for each "session" ?
GreenMoose
#1 Posted : Tuesday, February 19, 2013 10:47: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)
[1.0.44]

When I watch my Processing Queue window, NCrunch seems to queue a lot of "sessions" with only 10 tests, where expectation of each session run is about ~12 seconds.

Why does not NCrunch queue more tests in each "session", and can I somehow tweak it to push more tests in one session? If not, is such feature scheduled?

(Some tests require factory initializations which takes about 10s, using [ExclusiveUses] attribute does not seem to "help" either. Having ~5000 tests and NCrunch pools 10tests á 10sec off course makes the total test run to take forever...).

Thanks.
Remco
#2 Posted : Tuesday, February 19, 2013 10:10:29 PM(UTC)
Rank: NCrunch Developer

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

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
Hi,

The test pipeline builder takes a huge range of different factors into consideration, including the running time of individual tests, the running time of their fixtures, their impact status, failure status, resource usage, etc.

I'm aware of a problem/defect at the moment in the pipeline where sometimes it can queue up tests that are fast running but with a collectively slow fixture setup inside separate tasks if these fast running tests have notable differences in their priority (for example, if 2/10 of them have failed, they may be run separately). This isn't intentional and I'm hoping to have it sorted out soon.

When you see the tasks showing tests that you think should be run together, what is the priority difference between these tasks in the processing queue?

Also - What is the mechanism you are using for your factory initializations? Is this done via test fixture setup?
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.021 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download