-
Notifications
You must be signed in to change notification settings - Fork 14
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
Run / Debug Test Commands for Key Binding #89
Comments
That's to say? |
Maybe I was not clear. When I am writing new test in a test class I usually first run test for the test method that I am writing. Now I am doing it by clicking on Run or Debug button/link before method. I would like to be able to run it with shortcuts. To do so in Key Bindings in Preferences need to be Command to which I can associate key binding. |
But if you have several tests methods, which test you wish to execute? I don't understand the link with code mining? |
Shortcut (key binding) should run method where the cursor is. E.g. in test class are two methods: textX and testY and I am writing code in method testY. So my cursor is in the body of method testY. If I type shortcut for running test method plugin should find where my cursor is and if it is in test method it runs JUnit with only that test method. I don't know if this is something that is easiliy done or not.
The link is that since code mining plugin is detecting test methods and provide buttons/links for running or debugging them my idea was to not use click to run/debug test but to use shortcut. I don't know if this is something that code mining plugin should do but this would be practical thing when writing tests. Besides that is was mentioned in https://bugs.eclipse.org/bugs/show_bug.cgi?id=541277#c4 |
It would be nice to have Commands in key bindings for Run Test and Debug Test.
The text was updated successfully, but these errors were encountered: