Speaker Topics - No Fluff Just Stuff

Testing with (and without) Spring

Dependency injection and interface-driven development, two practices encouraged and supported by the Spring Framework, lead to more loosely-coupled code and, consequently, code that is more easily unit-tested.

But how can you integration test your application components after they have been assembled by Spring?

In this session, we'll look at the facilities provided by Spring to support unit-testing and integration-testing, including Spring-provided mock objects, Spring context-aware testing, datasource-aware testing, and transactional tests. We'll see Spring 2.0's support for JUnit 3 testing as well as Spring 2.5's support for JUnit 4-style annotation-based tests.


About Craig Walls

Craig Walls is a Principal Engineer, Java Champion, Alexa Champion, and the author of Spring AI in Action, Spring in Action, and Build Talking Apps. He's a zealous promoter of the Spring Framework, speaking frequently at local user groups and conferences and writing about Spring. When he's not slinging code, Craig is planning his next trip to Disney World or Disneyland and spending as much time as he can with his wife, two daughters, 1 bird and 2 dogs.

More About Craig »