摘要: Springboot整合Junit 注入测试对象(使用@Autowired注解进行装配) @SpringBootTest public class testCalculate { @Autowired private Calculate c = new Calculate(); } 执行要测试的方法 阅读全文
posted @ 2022-07-04 23:28 Texley 阅读(49) 评论(0) 推荐(0)