Test Slices in Spring-Boot

One of the early mistakes that I’ve done in my first professional Spring-Boot based project was writing integration tests that load the entire ApplicationContext using @SpringBootTest annotation when there’s no need. Thankfully, one of my colleagues was kind enough to help me understand that there is a better way to do things 🙂 Writting tests […]