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

Start the application myself for @NativeImageTest #8654

Closed
andrejpetras opened this issue Apr 17, 2020 · 1 comment
Closed

Start the application myself for @NativeImageTest #8654

andrejpetras opened this issue Apr 17, 2020 · 1 comment
Labels
kind/enhancement New feature or request
Milestone

Comments

@andrejpetras
Copy link
Contributor

andrejpetras commented Apr 17, 2020

Description
I want to start the application myself for the integration tests. For example using the TestContainers framework.

Implementation ideas
Our delivery is Linux base docker image + native image. On the Windows (also on Linux) it is "hard" to test the native image.
I want to use the TestContainers for the integration test and for this I would like to have custom NativeImageLauncher.

We can use ServiceLoader and have a custom implementation of the NativeImageLauncher.

NativeImageLauncher launcher = new NativeImageLauncher(extensionContext.getRequiredTestClass());

@geoand
Copy link
Contributor

geoand commented Feb 26, 2021

The use case you mention where you want to start the built container should be covered by #15227

@geoand geoand closed this as completed Feb 26, 2021
@geoand geoand added this to the 1.13 - master milestone Feb 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants