Please log in to watch this conference skillscast.
The Spring Framework has always embraced testing as a first class citizen. Spring-based components should be modular, easy to wire together via dependency injection, and therefore easy to test. In fact, when well designed following a POJO programming model, a component in a Spring application can be unit tested without using Spring at all. And when you take the step toward developing integration tests, Spring's testing support is there to make your job easy.
Join Spring Test component lead Sam Brannen in this talk to learn about the basics for Spring's unit and integration testing support. This talk will provide attendees an overview of the following topics: unit testing without Spring, integration testing with Spring, loading application contexts (with and without context hierarchies), injecting dependencies into tests, transaction management for tests, SQL script execution, testing Spring MVC and REST web applications, and more.
YOU MAY ALSO LIKE:
- JUnit 5 - Shaping the Future of Testing on the JVM (SkillsCast recorded in April 2016)
- Software Modernisation: A Strategic Approach (in Online Event on 2nd July 2020)
- Keynote: Deliberate Practice: Reaching your potential (SkillsCast recorded in October 2019)
- What did Deming's work on quality do for us? (SkillsCast recorded in October 2019)
Testing with Spring: An Introduction
Sam Brannen is an enterprise Java developer with nearly 20 years of experience, a graduate of the Georgia Tech College of Computing, and co-founder of Swiftmind, a software consulting agency in Zurich, Switzerland. At Swiftmind Sam helps international clients achieve best practices in agile software development, architecture, design, implementation, and testing of enterprise Java applications using the Spring Framework, JUnit, and a plethora of open source technologies. In his consulting role, Sam most enjoys hard core software development, leading work shops, code reviews, coaching, and training developers.