Skip to content

How to set the folder in src/main/ as testing folder? #1568

Closed

Description

@lruihan

We have java repo for e2e testing, the e2e test cases are in the src/main folder. Do we have anywhere to set for this? Seems that it checks src/test/ folder for tests by default.

Activity

  1. jdneo commented on May 6, 2023

    @jdneo
    Member

    Currently the extensions find the test according to the test source paths configured in build tool configuration: https://github.com/microsoft/vscode-java-test/wiki/FAQ#i-cannot-see-the-codelens-in-my-test-code-why

    There is a feature request to customize the test set location: #464, but it's not supported right now.

    Will your problem be solved if you change your test source paths in your build tool configurations?

  2. lruihan commented on May 6, 2023

    @lruihan
    Author

    It works now by changing testSourceDirectory in pom.xml, I will close the issue. Thanks a lot for your help!

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions