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

Notification

Icon
Error

Restrict multiple tests to run within same grid node in console runner?
GreenMoose
#1 Posted : Thursday, September 4, 2014 8:33:45 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)
v2.9.

Scenario:
I try to use the console test runner to integrate with TeamCity and I have a couple of performance tests which are creating data once and then reading it.

Now when they become distributed they need to create this data on each grid node defeating the purpose (in this scenario) of sharing the test data between tests.

Question:
Is there some way I can restrict Test1 and Test2, within same console "build and run tests in solution" session, to run in same grid node? (except creating server side exclude filter Test1 and Test2 since that will prevent them to run at server at all)

Thanks.


Remco
#2 Posted : Thursday, September 4, 2014 11:12:38 AM(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)
Other than using the method you've described (with Capabilities), I don't see a way to do this, but it could be a good request for a feature.
GreenMoose
#3 Posted : Tuesday, September 9, 2014 6:48:24 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 user thanked GreenMoose for this useful post.
Remco on 9/10/2014(UTC)
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.022 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download