@ContextConfiguration
directs Spring’s test runner to locate a configuration file with the same name as the current test class but with a -context.xml suffix, which should be located in the same package as the test class.
@ContextConfiguration
directs Spring’s test runner to locate a configuration file with the same name as the current test class but with a -context.xml suffix, which should be located in the same package as the test class.
转载于:https://www.cnblogs.com/exposure/p/6242724.html