Skip to content

Test runner should recognize the Gradle test task which is needed to run the particular JUnit test #330

Open
@piotr-rachwalik

Description

@piotr-rachwalik

Description

I have a multi subprojects Gradle Java project. I'm using custom Gradle test tasks to execute only particular test suites. Currently, I'm not able to run these tests using VS Code with Oracle Java platform extension, because the command always looks like this:

../../gradlew --configure-on-demand -x check cleanTest test --tests

I see two solutions:

  1. The extension should automatically resolve what is the proper test task that can run the test
  2. Provide the option to manually set the Gradle command / configuration that could selectable in this view:
    Screenshot 2024-11-18 at 14 19 05

Metadata

Metadata

Assignees

No one assigned

    Labels

    Settings/ConfigIf there are missing setting or configarationenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions