Integration Testing With Spring – Avoiding Problems
We already know that Spring is complex. And we’ve just scratched the surface. One of the problem with complex frameworks is that they do so much, that when something goes wrong they are not that smart about analyzing the situation. Read more…
Integration Testing With Spring – Organizing Configurations
We’ve talked about nested configurations. Now, let’s move on to using imported configurations in a smart way. Let’s say in the main app (as in “production”), I have a whole lot of beans I need to inject. The thing not Read more…
Integration Testing with Spring – Nested Configurations
Let’s dig deeper into configurations for integration tests in Spring. We’ll start with a nested integration context example, for a class (that might be a test class, because that’s our main focus). While we can use @Import, if we set up Read more…
Integration Testing With Spring – Configurations
So how does Spring know what type to inject? Spring can do so in a different ways. The default is scanning any class in the class path. Spring tries to match the types it finds in the class path to Read more…
Integration Testing With Spring – Dependency Injection
I want to take a step back and discuss what Spring and Spring Boot are what are the basics features we get out of the box, and how we can use them for our advantage. There’s a whole training I’ve Read more…