Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide test ContextLoader for @ContextConfiguration that creates a WebApplicationContext [SPR-5399] #10072

Closed
spring-projects-issues opened this issue Jan 6, 2009 · 1 comment
Assignees
Labels
in: test Issues in the test module status: duplicate A duplicate of another issue type: enhancement A general enhancement

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues commented Jan 6, 2009

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:

@spring-projects-issues
Copy link
Collaborator Author

Sam Brannen commented

See link to duplicate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: test Issues in the test module status: duplicate A duplicate of another issue type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants