Mockrunner does not provide a test module for the popular
Spring framework.
However, Lim Eu Gene has implemented a solution to integrate Struts-Spring
with Mockrunner's ActionTestModule.
Here's the code
and here's a short description from Lim Eu Gene's
weblog:
If you are using the ActionSupport class to provide support for Spring
in Struts actions, you may run into a problem of how to initialize the
WebApplicationContext with your applicationContext.xml.
Here is a reference implementation to unit test the ActionSupport
class using Mockrunner's ActionTestModule.
Just set up your WebMockObjectFactory.getMockServletContext() with
any resources, then call the static method loadSpringContext()
with your context file paths.