-
Notifications
You must be signed in to change notification settings - Fork 83
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
Cannot stop JUnit 5 tests execution #832
Comments
@SarikaSinha : any ideas here? @trancexpress : not sure it belongs to PDE, is there a reason you didn't reported it for jdt.ui? |
Yes, I have observed it. We can terminate from Console only. |
I'm not sure if it is really related to JUnit5, but also noticed in the past that sometimes if I'm debugging a test and terminate it there, JUnit still thinks it is alive or if I terminate it on JUnit side the Debugging session still persistst, so I can second @SarikaSinha that usually killing the test from console view works best... |
+1, it's been that way forever as far as I recall. IIRC, I had started to investigate that many years ago, and the difference in that the Debug view calls |
|
+1 as an ambiguous intent to tell "I notice this behavior too and interpret it as an issue". |
I'm not sure either, JDT UI prints this on the standard in (or socket) of the launched process: I'm yet to find where this is handled. I assume the launched process, and so PDE. I'm not sure though. Relevant stack trace when launching JUnit 5 tests is more or less:
The handling for the stop should be in |
Please continue discussion on: eclipse-jdt/eclipse.jdt.ui#889 |
To reproduce, run a JUnit 5 test case and try to stop the tests execution via the JUnit view stop button. E.g. import the project from the attached archive: TestJunit5Abort.zip
See also this screen recording:
ScreenRecordingJunit5Abort.mp4
Judging from this, maybe its not possible to stop the JUnit 5 tests using JUnit 5 API? junit-team/junit5#1880
The text was updated successfully, but these errors were encountered: