时间:2024-10-14 02:38:52
1、RunWith注解表示使用Spring提供的测试环境。
3、如果我们使用ContextConfiguration注解引入的不是xml文件,而是配置类,需要使用”classes=配置类文件“的写法。