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.
Currently, tests are executed using the AOT code path when AOT test code has been generated. This is the default because most of the time, it brings added value to validate the AOT codepath on the JVM before going to native and allows to debug the code as it will run on native. On application side, the default is to not use AOT by default (and allow to enable AOT codepath via -DspringAot=true) in order to keep the DevXP that Spring Boot developers know and love with Devtools hot reload capabilites.
We should provide a command line option to allow to use the regular code path for test, something that would be conceptually -DspringAot=false. But unlike application, test execution is forked and run via Maven or Gradle plugins. And we need to consider how that works in IDEs too.