Provide test ContextLoader for @ContextConfiguration that creates a WebApplicationContext [SPR-5399] #10072
Labels
in: test
Issues in the test module
status: duplicate
A duplicate of another issue
type: enhancement
A general enhancement
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:
The text was updated successfully, but these errors were encountered: