SpringBoot单元测试示例整理
时间:2020-08-17 16:56:41
收藏:0
阅读:57
参考文章:https://www.jianshu.com/p/81fc2c98774f
放入任意一个可运行的SpringBoot工种中即可,其中DictionaryServiceTest.java依赖本地服务,需要注释
依赖:
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
</dependency>
示例截图
评论(0)