← all tags

#java

3 articles.

§ article

Understanding and Optimizing the Context Cache in Spring Test

Understanding the Spring Test context cache, ways to streamline contexts, and considerations for a large-scale integration suite.

§ article

Inside Spring Boot /actuator/health Endpoint

Understanding what happens when you call /actuator/health of your Spring Boot application.

§ article

Spring Boot @MockBean and @SpyBean Are Saying Goodbye

Since Spring Boot 3.4.0, `@MockBean` and `@SpyBean` annotations in `spring-boot-test` are deprecated. In favor of `@MockitoBean` and `@MockitoSpyBean` annotations from `spring-test`.