For Spring Framework 6.0 we have decided to deprecate the obsolete methods in the ContextLoader API in the Spring TestContext Framework in favor of the methods in the SmartContextLoader API which has been available since Spring Framework 3.1.