-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Guide/code.quarkus.io native image testing re-work #18820
Comments
cc @ia3andy |
Good point, it's just a matter of updating the templates, we really need that done for the next release and backported to previous versions: This is one of the templates to update (it needs to be done in java/kotlin/scala and also in resteasy-reactive): |
@edeandrea are u up for a PR? else I'll have a look tomorrow. @geoand what should we use now? Also @gsmet the quickstarts are also using it: |
@ia3andy possibly. I'm just returning from a week's worth of PTO and have a ton of stuff to get through this week, so chances are it wouldn't be anything I could get to in the next week or 2. |
@edeandrea thanks! no worries I'll have a look tomorrow.. |
the code generation tests (snapshots) will also need to be updated accordingly |
Just wanted to give a gentle ping on this. Any updates? In addition to the test classes needing updating, the |
@edeandrea I thought I did that one.. it must have slipped of my TODO list somehow.. do you want to provide a PR? |
/cc @quarkusio/devtools |
I don't know anything about how the templating or code.quarkus.io works nor how I would test any changes before I've committed anything. If its not too much work I could probably do a PR so long as you give me some starting points... |
Looking at https://github.com/quarkusio/quarkus/blob/main/independent-projects/tools/base-codestarts/src/main/resources/codestarts/quarkus/extension-codestarts/resteasy-codestart/java/src/native-test/java/org/acme/Native%7Bresource.class-name%7DIT.tpl.qute.java - does it really belong in a directory called Would this be a much broader change? This guide would most likely need to be updated as well. |
Some tests might need to be run with |
First make the changes and then see what fails |
That's a good question, I think you can move them to the |
Yes I guess the guide also need to be udpated, but that could be a different PR.. |
Moving those test in the test directory would result in IT test execution every time we run ˋgradle test` we should keep a separate source set (maybe ˋsrc/integration-test/java ˋ) at least for gradle .. |
Description
The Quarkus native image testing guide (https://quarkus.io/guides/getting-started-testing#native-executable-testing) says that
@NativeImageTest
is not yet deprecated but will be in the future and to use@QuarkusIntegrationTest
.If so, why does code.quarkus.io still generate projects using
@NativeImageTest
(& also the native image test extending the non-native base class).Implementation ideas
No response
The text was updated successfully, but these errors were encountered: