Closed
Description
David J. M. Karlsen opened SPR-4588 and commented
Overview
It would be very handy if Spring could provide support for session
and request
scoped beans for integration testing (e.g. in the TestContext framework).
Further Resources
- Forum discussions
- Spring Batch's
StepScopeTestExecutionListener
Affects: 2.5.2
Attachments:
- AbstractJUnit4SpringWebContextTests.java (1.61 kB)
Issue Links:
- Support loading WebApplicationContexts with the TestContext Framework [SPR-5243] #9917 Support loading WebApplicationContexts with the TestContext Framework ("depends on")
- Autowiring won't work when using scopes and targetClass auto proxying [SPR-4524] #9201 Autowiring won't work when using scopes and targetClass auto proxying
- Introduce bootstrap strategy in the TestContext framework [SPR-9955] #14588 Introduce bootstrap strategy in the TestContext framework
Referenced from: commits a281bdb, 21ebbb9
11 votes, 12 watchers