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

Add new snippet for @QuarkusIntegrationTest #754

Closed
datho7561 opened this issue Oct 21, 2022 · 0 comments · Fixed by #755
Closed

Add new snippet for @QuarkusIntegrationTest #754

datho7561 opened this issue Oct 21, 2022 · 0 comments · Fixed by #755
Labels
enhancement New feature or request
Milestone

Comments

@datho7561
Copy link
Contributor

See redhat-developer/vscode-quarkus#551

It seems like the class @SubstrateTest no longer exists in newer versions of Quarkus. This means that the qntrc snippet doesn't appear. According to https://quarkus.io/guides/building-native-image#testing-the-native-executable, the recommended way to create a test that can test the binary is making a class annotated with @QuarkusIntegrationTest.

Instead of replacing qntrc, I think it makes sense to provide a new snippet with its context set to detect the presence of the @QuarkusIntegrationTest annotation, so that the old snippet is still present in older versions of Quarkus.

@datho7561 datho7561 added the enhancement New feature or request label Oct 21, 2022
datho7561 added a commit to datho7561/quarkus-ls that referenced this issue Oct 21, 2022
Closes redhat-developer#754

Signed-off-by: David Thompson <davthomp@redhat.com>
datho7561 added a commit to datho7561/quarkus-ls that referenced this issue Oct 27, 2022
Closes redhat-developer#754

Signed-off-by: David Thompson <davthomp@redhat.com>
datho7561 added a commit to datho7561/quarkus-ls that referenced this issue Oct 27, 2022
Closes redhat-developer#754

Signed-off-by: David Thompson <davthomp@redhat.com>
datho7561 added a commit to datho7561/quarkus-ls that referenced this issue Oct 27, 2022
Closes redhat-developer#754

Signed-off-by: David Thompson <davthomp@redhat.com>
angelozerr pushed a commit that referenced this issue Oct 27, 2022
Closes #754

Signed-off-by: David Thompson <davthomp@redhat.com>
@angelozerr angelozerr added this to the 0.13.0 milestone Oct 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants