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

Cannot run meta annotation tests from test explorer #773

Closed
ZhengJun003 opened this issue Aug 9, 2019 · 1 comment · Fixed by #1131
Closed

Cannot run meta annotation tests from test explorer #773

ZhengJun003 opened this issue Aug 9, 2019 · 1 comment · Fixed by #1131
Labels
Milestone

Comments

@ZhengJun003
Copy link

Environment:
OS: Win10
JDK: 8/12
Java Test Runner Extension: 0.19.0

Repro steps:

  1. Git clone https://github.com/bsaby/junit5-samples/tree/testrunner/junit5-jupiter-starter-maven
  2. Run the MyFastTestIT java file

Result:
Cannot run meta annotation tests from test explorer, works from CodeLens.
image

@jdneo jdneo added the bug label Aug 9, 2019
@jdneo
Copy link
Member

jdneo commented Apr 23, 2020

Root cause: https://github.com/microsoft/vscode-java-test/blob/master/java-extension/com.microsoft.java.test.plugin/src/main/java/com/microsoft/java/test/plugin/util/TestSearchUtils.java#L185-L189

We are using the search engine to search all the test items but the search engine does not support search the annotation hierarchically. That's why meta annotations are not able to be found.

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

Successfully merging a pull request may close this issue.

2 participants