@SpringBootTest vs @ContextConfiguration vs @Import in Spring Boot Unit Test
I think all 3 presented options are bad if your intent is to run a proper unit test. A unit test must be blazing fast, you should be able to run hundreds of those in a second or so (depending on the hardware of course, but you get the idea). So once you say “I … Read more