Skip to content

Deprecate support for custom, default ContextLoader class name in the TestContext framework [SPR-11682] #16305

Closed
@spring-projects-issues

Description

@spring-projects-issues

Sam Brannen opened SPR-11682 and commented

Overview

#14588 introduces a new bootstrap strategy for the TestContext framework. Thus as of Spring Framework 4.1, a TestContextBootstrapper will assume the responsibility for determining what ContextLoader to use as the default. Consequently, previous support for supplying the class name for a custom, default ContextLoader will no longer be applicable.

Deliverables

Officially deprecate support for custom, default ContextLoader class names in the 4.0.x line for the following:

  1. The TestContextManager(Class, String) constructor
  2. The getDefaultContextLoaderClassName(Class) method in SpringJUnit4ClassRunner

Affects: 4.0 GA

Issue Links:

Metadata

Metadata

Assignees

Labels

in: testIssues in the test moduletype: taskA general task

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions