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

Notification

Icon
Error

Cancel test runs
ben
#1 Posted : Thursday, March 28, 2013 10:46:29 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 5/12/2011(UTC)
Posts: 1
Location: London

Hi Remco,

Greetings from sunny London :)
Despite having a default test timeout set in the configuration, tests relying on the DB or running multiple threads sometimes stop running due to race conditions, and bring the whole engine to halt.
I wonder how hard would be to have an option on the Processing Queue window to cancel test runs, something similar to this:

[img](- BROKEN LINK -)[/img]

At the moment, I've got two ways of fixing this: the inefficient way and the nasty way.
  • Inefficient way: Click the "Resynchronise" button, which reloads and rebuilds all projects.
  • Nasty way: Kill all "nCrunch.TestHost" processes through Process Explorer.

Can you think of a different way to solve this problem? Is this new option really necessary? Am I missing anything here?

P.S.: We still miss you here in the office :(
Remco
#2 Posted : Thursday, March 28, 2013 11:32:54 AM(UTC)
Rank: NCrunch Developer

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

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

Great to hear from you!

There's some work in progress here. The idea is to extend the 'Stop' button so that after it's clicked, it immediately turns into a 'Kill' button that can be clicked again to cancel the execution of all tests.

The context menu option to kill a test process is also planned :)

Hope all is well at Digiterre!


Cheers,

Remco
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