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:
- Pivotal's Core Spring (in London on 4th - 7th November 2019)
- JUnit 5 - Shaping the Future of Testing on the JVM (SkillsCast recorded in April 2016)
- Janet Gregory's Agile Testing for the Whole Team (in London on 28th - 30th October 2019)
- droidcon London 2019 (in London on 24th - 25th October 2019)
- P3X - People, Product & Process eXchange 2019 (in London on 31st October - 1st November 2019)
- Don’t keep it to yourself - openness and honesty in the workplace (in London on 30th October 2019)
- Testing and UB (in London on 21st November 2019)
- Testing in Production. From DevTestOops to DevTestOps (SkillsCast recorded in September 2019)
- Build the REST API Of Your Dreams (SkillsCast recorded in September 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.