Feature Suggestions

Cancel test runs

Started by ben on 6,063 views

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 :(
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

Post a reply

Log in to reply.