- Test with both JVM and native-image modes — behavior can differ around class initialization.
- Use the GraalVM tracing agent (`-agentlib:native-image-agent`) to auto-generate reflection config from tests.
- Test native image compilation with `native-image --no-fallback` in CI — some reflection-heavy code fails at native-image build time.
- Run native-image build in CI — it catches reflection and resource issues early.
- Use `@QuarkusTest` or `@MicronautTest` for framework-specific native testing.