Testing
Spock with Spring Boot: Integration Testing Setup and @SpringBean
Spock integrates with Spring Boot via the spock-spring module, which brings @SpringBootTest, @SpringBean, and @SpringSpy into Spock specs. You get the full Spring context with Spock's readable BDD syntax, mock injection via @SpringBean, and real bean overrides via @SpringSpy. This guide covers setup, common patterns, and how