Victor Rentea - Integration Testing with Spring

Our sleep is better with longer-scoped tests. Our life is brighter if we don’t heavily rely on fine-grained tests that mock us whenever they can. I’m talking about tilting the balance towards more integration than unit testing. And for that, let’s look at the testing features offered by the widest-spread Java Framework today. We’ll see how to use fake test implementations, how to mock an unwanted Spring bean, what’s a Transactional Test, and if and how to test your web endpoints. Along the way, we’ll also see Flaky tests, and discuss best practices about integration testing, all in an entertaining live-coding session. You’ll take from this talk a lot of good practices and techniques directly applicable to your day-to-day project.
Back to Top