摘要: 更完整使用:参考 https://gitee.com/clarinoSun/study_note/tree/master/04-CleanCode/%E5%8D%95%E5%85%83%E6%B5%8B%E8%AF%95 POM <dependency> <groupId>org.mockito</ 阅读全文
posted @ 2022-12-31 23:46 飞翔在天 阅读(190) 评论(0) 推荐(0) 编辑
摘要: POM配置 <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.12</version> </dependency> Java Test类结构 Class XXXTest{ @Test Pub 阅读全文
posted @ 2022-12-31 23:22 飞翔在天 阅读(59) 评论(0) 推荐(0) 编辑
摘要: https://zhuanlan.zhihu.com/p/571520010 SpringRunner实现Junit暴露的BlockJUnit4ClassRunner SpringJUnit4ClassRunner实现了BlockJUnit4ClassRunner,它运行的是一个标准的JUnit4测 阅读全文
posted @ 2022-12-31 21:10 飞翔在天 阅读(425) 评论(0) 推荐(0) 编辑
摘要: https://insights.thoughtworks.cn/practical-test-pyramid/ https://developer.aliyun.com/article/792515 Java编程技巧之单元测试用例编写流程 https://developer.51cto.com/a 阅读全文
posted @ 2022-12-31 21:06 飞翔在天 阅读(67) 评论(0) 推荐(0) 编辑