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

Notification

Icon
Error

Is there a way to setup combine engine modes with capabilities?
MaxiCode
#1 Posted : Friday, March 16, 2018 2:22:06 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 3/16/2018(UTC)
Posts: 1
Location: Switzerland

We have a combination of "dedicated ncrunch servers" and developers running the node on their machine.
What we would like to do is, depending on some means (my thought went to engine modes), make it so that running all tests automatically (again, this is our case, but could be anything else), the tests will run on the dedicated servers, but using the manual engine mode will enable it to use the other developer's machines.

Any advice?
Remco
#2 Posted : Friday, March 16, 2018 10:03:17 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,123

Thanks: 957 times
Was thanked: 1286 time(s) in 1193 post(s)
Hi, thanks for posting!

We do have the 'Tests to execute on this machine' setting, which can be combined with an engine mode to control which tests are allowed to run on a machine.

Unfortunately, there presently isn't any condition in this setting that will allow you to control behaviour based on whether the test is marked via manual execution.

One way this can work is to turn off your local processing in the Distributed Processing Window. Then when you choose to run tests manually, try doing so with the debugger attached. When tests are run using the debugger, they'll be executed locally because the debugger is unavailable over the grid. This is a way of forcing local processing even when all other work would otherwise be run on the remote servers.
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.027 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download