Gil Zilberfeld talks about integration testing a REST API

Integration Testing with Spring – Testing A REST API

After we understand how to use mocks in Spring in integration tests, let’s take a look at a setup for testing a REST service that uses a dependency we want to mock. API testing is a usual integration test scenario,… Continue Reading…

Gil Zilberfeld explains how to configure spring with mocks for integration tests

Integration Testing with Spring – Mocking

Let’s continue where we’ve left off – multiple configurations for integration tests. We use different configurations when we need to inject two different sets of objects. For example a real one and mocked one of the same type for different… Continue Reading…

Gil Zilberfeld talks about configuration for mocking in integration tests and unit tesitng

Integration Testing with Spring – Configurations

First, a couple of words about Spring in general as a dependency injection framework. One of the best things in Spring is its simplicity of injection. Regardless of where you are, you pop an @Autowired annotation on a class variable (which… Continue Reading…

Copyright Gil Zilberfeld, 2025