I am exploring JdbcClient API and realized while writing tests using @JdbcTest I am not able to inject JdbcClient. I had to explicitly add @ImportAutoConfiguration(JdbcClientAutoConfiguration.class) to be able to inject JdbcClient.

Reproducer: https://github.com/sivaprasadreddy/spring-boot-tutorials-blog-series/blob/main/spring-boot-jdbcclient-tutorial/src/test/java/com/sivalabs/bookmarks/domain/BookmarkRepositoryTest.java

Expected: While using @JdbcTest I should be able to inject JdbcClient just like JdbcTemplate.

Comment From: sivaprasadreddy

Just after creating this issue I realized somebody already created an issue https://github.com/spring-projects/spring-boot/issues/37113. Closing.