-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Provide built-in support for GraalVM native images #3040
Comments
1 task
2 tasks
+1 for this. The breaking change in 5.10 that requires |
marcphilipp
added a commit
that referenced
this issue
Nov 20, 2024
Should be fixed properly in #3040
marcphilipp
added a commit
that referenced
this issue
Nov 20, 2024
Should be fixed properly in #3040
marcphilipp
added a commit
that referenced
this issue
Nov 20, 2024
Should be fixed properly in #3040
marcphilipp
added a commit
that referenced
this issue
Nov 20, 2024
Should be fixed properly in #3040
marcphilipp
added a commit
that referenced
this issue
Nov 20, 2024
Should be fixed properly in #3040
marcphilipp
added a commit
that referenced
this issue
Nov 26, 2024
Should be fixed properly in #3040
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Overview
The GraalVM Native Build Tools (NBT) project provides support for running tests within a native image using the JUnit Platform. Since JUnit 5 has never provided built-in support for running in a native image, the NBT team implemented an internal
PluginConfigProvider
mechanism for contributing native image configuration for the JUnit Platform, JUnit Jupiter, and JUnit Vintage projects.PlatformConfigProvider
JupiterConfigProvider
VintageConfigProvider
The
JUnitPlatformFeature
also registers reflection for all test classes.Rationale
The code in the above classes is very specific to JUnit 5 and can therefore be better maintained by the JUnit team. In addition, having the native image configuration directly in JUnit 5 artifacts will allow the JUnit team to proactively integration test support for GraalVM native images, thereby avoiding issues such as #3035.
Deliverables
ConsoleLauncher
as the application class for the compiled native image.PluginConfigProvider
implementations in NBT can be migrated to JUnit 5.JUnitPlatformFeature
and its support classes can be migrated to JUnit 5.--initialize-at-build-time
args fromplatform-tooling-support-tests/projects/graalvm-starter/build.gradle.kts
The text was updated successfully, but these errors were encountered: