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

Any Update about "Delegate to Gradle" for Java Test? #1547

Closed
L-ilac opened this issue Mar 15, 2023 · 3 comments
Closed

Any Update about "Delegate to Gradle" for Java Test? #1547

L-ilac opened this issue Mar 15, 2023 · 3 comments

Comments

@L-ilac
Copy link

L-ilac commented Mar 15, 2023

Recently, I read issues about "Delegate to Gradle" below.
#1045 microsoft/vscode-java-debug#1127

So, Is 'Delegate to Gradle' feature on developing?

There is still same problem.

Expected :
For a Spring Boot project, if both src/main/resource and src/test/resource contain application.properties file,
the test runner should pick the one in src/test/resource.

Actual :
It seems that the test runner pick the one in src/main/resource.

@jdneo
Copy link
Member

jdneo commented Mar 15, 2023

It's in our backlog now: #1045. But no concrete date about when to support.

@jdneo jdneo closed this as not planned Won't fix, can't repro, duplicate, stale Mar 15, 2023
@jamfor352
Copy link

jamfor352 commented Mar 15, 2024

It's in our backlog now: #1045. But no concrete date about when to support.

Is there any movement on this at all? It would actually allow many more people to be able to use this extension. At the moment, tests are incorrectly breaking without it, so it's a pretty major absence.

@jdneo
Copy link
Member

jdneo commented Aug 5, 2024

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:
image
image

If you do not want to change the default testing profile, you can trigger an one-time execution via:
image
image

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

No branches or pull requests

3 participants