-
Notifications
You must be signed in to change notification settings - Fork 325
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
ITestExecutor Cancel does not appear to be called #4329
Comments
I run into the same issue |
This is by-design (or rather: too late to change it now). |
You're not serious now, are you? The The answer is probably below par ... |
I am not, this was done to keep the interactive experience in VS responsive. When abort is pressed everything tears down as fast as possible. |
The problem is that if a test hangs for some unknown reason, it must be possible to cancel the test execution. Otherwise, this would mean I would have to close and reopen the IDE to solve the problem, which is very inconvenient. |
Description
The Cancel method of an ITestExecutor does not appear to be called
Steps to reproduce
Create an implementation of ITestExecuter
Create a long running test that test executer would execute
Run a the long running test
Hit the cancel button in the text explorer
Expected behavior
Cancel method is invoke
Actual behavior
Nothing
Diagnostic logs
Environment
Visual Studio 2022 Version 17.5.0
The text was updated successfully, but these errors were encountered: