Spring Framework Tutorials, Testing Tutorials

REST Assured is a Java DSL (Domain Specific Langauge) that aims to simplify testing REST APIs.

Testing Spring Boot Applications With REST Assured

Spring Framework Tutorials, Testing Tutorials

As a general best practice, we should externalize configuration values for our applications. This allows overriding

Override Spring Boot Configuration Properties For Tests

Spring Framework Tutorials, Testing Tutorials

When working for the first time with Spring, you might encounter several no qualifying bean exceptions

Fix No Qualifying Spring Bean Error For Spring Boot Tests

Spring Framework Tutorials, Testing Tutorials

Similar to testing our web layer in isolation with @WebMvcTest, Spring Boot provides a convenient way

Spring Data JPA Persistence Layer Tests With @DataJpaTest

Spring Framework Tutorials, Testing Tutorials

Starting with Spring Framework version 5.3 (part of Spring Boot since version 2.4.0) you can perform

Test Your Spring MVC Controller with the WebTestClient and MockMvc

Mockito Tutorials, Spring Framework Tutorials, Testing Tutorials

When you start testing your Spring Boot application sooner or later you’ll stumble over @Mock and

@Mock vs. @MockBean When Testing Spring Boot Applications

Spring Framework Tutorials, Testing Tutorials

Did you ever found yourself saying: I usually ignore testing my Spring Web MVC controller endpoints

Testing Spring Boot Applications With MockMvc and @WebMvcTest

Spring Framework Tutorials, Testing Tutorials

Spring Boot offers great support to test different slices (web, database, etc.) of your application. This

Spring Boot Test Slices: Overview and Usage

Spring Framework Tutorials, Testing Tutorials

WebSockets allow establishing a full-duplex, two-way communication between the client and the server. With Spring WebSocket,

Write Integration Tests For Your Spring WebSocket Endpoints