-
Notifications
You must be signed in to change notification settings - Fork 10
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
Add support for delegating test and run/debug execution #119
Comments
Hi @graemerocher, Yes, it's in our plan. So far there is no concrete ETA yet. |
Hi @graemerocher, I'm working on the test delegation support with @Arthurm1 recently, and the code is closed to be ready. Is there any sample project in Micronaut using Gradle in which tests are not working in VS Code previously. I can use it to test if that's working now. |
Great news! Sure you can grab any example from Micronaut Launch hat uses testcontainers/docker to run tests:
|
running tests that require testcontainres/docker requires delegating to the build tool |
Update: client side PRs are under review: microsoft/vscode-java-test#1705 |
does this also support delegating the |
I need to split out and re-submit the original I'm not sure what plans there are on the BSP client side @jdneo? |
I'll make a pre-release for the test delegation late this week. Next I'll do the test debug support (In this month) Delegate run will be the next. |
Update: PR for debug test support: microsoft/vscode-gradle#1536 |
The Gradle Test Delegation (both run and debug) has supported now. To use this feature, you need to install the latest Test Runner for Java and Gradle for Java extension. To delegate the tests to Gradle, you can set the default testing profile in Testing explorer: If you do not want to change the default testing profile, you can trigger an one-time execution via: |
nice! |
is there a way to default to this setting for all Gradle projects under Gradle settings? Or does it need to be done every time you open a project |
Seems that output from Gradle is not collected into the Test Results log window, is that a bug? |
VS Code will remember the choice for the project.
Yes, it's not implemented yet. |
is there an issue to track that? |
@graemerocher we have already published a blog for delegating test to Gradle. If possible, we would greatly appreciate if you could also help us to promote that as well: https://x.com/NickZhu9/status/1818951420454072769 . Thanks! |
The hooks seem to be there but it is currently unimplemented. We need to be able to delegate test and run execution to Gradle.
It seems from the blog is this is planned. Is there an ETA?
The text was updated successfully, but these errors were encountered: