摘要: Spring集成Junit SpringJunit负责创建Spring容器--RunWith 指定配置文件 --ContextConfiguration 需要测试的Bean在测试类注入--Autowired 准备工作 pom.xml引入SpringJunit <dependency> <groupI 阅读全文
posted @ 2022-05-30 00:43 Saski&Naruto 阅读(94) 评论(0) 推荐(0)