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

Add value alias for @ContextConfiguration's locations attribute [SPR-5713] #10383

Closed
spring-projects-issues opened this issue May 4, 2009 · 1 comment
Assignees
Labels
in: test Issues in the test module type: enhancement A general enhancement
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

Sam Brannen opened SPR-5713 and commented

Status Quo: 'locations' attribute name is required even if you're only specifying the locations.

@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations={"/applicationContext.xml"})
public class MyTest {

Goal: omit attribute name when only configuring locations.

@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration("/applicationContext.xml")
public class MyTest {


Affects: 2.5.6

Referenced from: commits 781da89, 7d4da00, 9daae23

@spring-projects-issues
Copy link
Collaborator Author

Sam Brannen commented

Added 'value' alias for @ContextConfiguration's 'locations' attribute.

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 type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants