Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to stop/cancel a cucumber/ruby test when running from Sublime Text 3 (in Windows)? #268

Open
mickael28 opened this issue Dec 11, 2016 · 1 comment

Comments

@mickael28
Copy link

I am able to launch a Cucumber/Ruby test from Sublime 3 in Windows by right clicking and choosing Ruby Test-Run Single Test.

This brings up the Test Panel with the results, but how can I cancel this execution and stop it from keep on running (sometimes I'm running a Scenario Outline and it take a long time until Sublime stops)?

I've tried: ctrl+z, ctrl+x, ctrl+c, ctrl+pause_break, ctrl+delete, esc, delete, pause_break, but the test keep on running and you need to wait until it's all done...

I was pressing those keys either in the Test Panel, the console, or the main screen with code.

If you know what I could try pls?

@mickael28
Copy link
Author

After talking to the Sublime guys, we managed to see what was going on.

It seems when we run tests from this plugin, it creates 2 processes, cmd.exe and conhost.exe. If I killed any or both of them individually with 'kill task', the processes were still running in the background.

But, if I select 'End Process Tree' when clicking the 'cmd.exe' file that seems to kill the execution, so finally got it working for now.

Could an option be added to the right click menu with an entry to 'Stop all running processes' or similar and execute that command ('end process tree' for the created cmd.exe process) directly from the UI?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant