Rethinking Spring Application Integration Testing

tl;dr When writing integration tests for Spring applications, align them with your functional decomposition approach, because that means you will test more cohesive elements of your code base. That orientation produces tests better aligned with the “Four Pillars of a Good Test” (from “Unit Testing—Principles, Practices, and Patterns” ) than the traditional, horizontally-sliced approach. Spring…