Victor Rentea Integration Testing with Spring
Our sleep is better with longerscoped tests. Our life is brighter if we dont heavily rely on finegrained tests that mock us whenever they can. Im talking about tilting the balance towards more integration than unit testing. And for that, lets look at the testing features offered by the widestspread Java Framework today. Well see how to use fake test implementations, how to mock an unwanted Spring bean, whats a Transactional Test, and if and how to test your web endpoints. Along the way, well also see Flaky tests, and discuss best practices about integration testing, all in an entertaining livecoding session. Youll take from this talk a lot of good practices and techniques directly applicable to your daytoday project.
|
|