Closed
Description
Dave Syer opened SPR-5399 and commented
Provide test ContextLoader for @ContextConfiguration
that creates a WebApplicationContext. I would like to add a MockServletContext to my test configuration and then load a DispatcherServlet context to check that it initializes OK, at the very least. I am prevented from doing thiswith a normal generic ContextLoader by #10071, but it strikes me that anyway a loader should be provided to make this a less onerous task to start with.
Affects: 2.5.6
Issue Links:
- Support loading WebApplicationContexts with the TestContext Framework [SPR-5243] #9917 Support loading WebApplicationContexts with the TestContext Framework ("duplicates")