You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 23, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Feb 23, 2023. It is now read-only.
Currently SpringBootTestHints has the following limitations.
It only searches for @Test annotations; whereas, it should search for @Test, @TestFactory, and @TestTemplate (which covers @ParameterizedTest and @RepeatedTest).
It sets checkMetaUsage to false for getMethodsWithAnnotationName(...), but all JUnit Jupiter annotations can be used as meta-annotations.
Note that the code in question in SpringBootTestHints actually duplicates what the JUnitPlatformFeature in Native Build Tools already does automatically (namely, automatic reflection configuration registration for all test classes):
In light of that, it may be best to just leave SpringBootTestHints as it currently is or consider removing the test class reflection configuration registration from SpringBootTestHints.
Activity
sbrannen commentedon Nov 6, 2021
Note that the code in question in
SpringBootTestHintsactually duplicates what theJUnitPlatformFeaturein Native Build Tools already does automatically (namely, automatic reflection configuration registration for all test classes):https://github.com/graalvm/native-build-tools/blob/15bea361faf74d2f36655aef688995be17e59918/common/junit-platform-native/src/main/java/org/graalvm/junit/platform/JUnitPlatformFeature.java#L146
In light of that, it may be best to just leave
SpringBootTestHintsas it currently is or consider removing the test class reflection configuration registration fromSpringBootTestHints.Remove native config for test classes from SpringBootTestHints
[-]SpringBootTestHints should support all JUnit Jupiter test annotations[/-][+]Revise scope of SpringBootTestHints[/+]Remove native config for test classes from SpringBootTestHints