The JUnitPlatformFeature of the Native Build Tools project automatically registers all fields within the test class hierarchy for reflective access; however, we need to automate registration of runtime hints for the methodName attribute in @TestBean when it references a fully-qualified method name such as org.example.TestUtils#createUserService where the method resides in a class not within the test class hierarchy.
The
JUnitPlatformFeature
of the Native Build Tools project automatically registers all fields within the test class hierarchy for reflective access; however, we need to automate registration of runtime hints for themethodName
attribute in@TestBean
when it references a fully-qualified method name such asorg.example.TestUtils#createUserService
where the method resides in a class not within the test class hierarchy.