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

Subclasses of SpringJUnit4ClassRunner should be able to configure the default ContextLoader class [SPR-5710] #10380

Closed
spring-projects-issues opened this issue May 2, 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-5710 and commented

Subclasses of SpringJUnit4ClassRunner often address a domain which by default requires an ApplicationContext other than a generic XML based one (e.g., web, OSGi, etc.). Such custom runners therefore need the ability to override the default ContextLoader class to be used by the managed TestContext.

See forum discussion: http://forum.springsource.org/showpost.php?p=206965&postcount=1


Affects: 2.5.6

Referenced from: commits a637912

@spring-projects-issues
Copy link
Collaborator Author

Sam Brannen commented

Subclasses of SpringJUnit4ClassRunner can now override the default ContextLoader class via the new getDefaultContextLoaderClassName(Class) method.

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