springboot 进行单元测试需要导入的jar包

需要导入的jar包为:

<dependency>
   <groupId>junit</groupId>
   <artifactId>junit</artifactId>
   <version>4.11</version>
   <scope>test</scope>
</dependency>
<dependency>
   <groupId>org.springframework.boot</groupId>
   <artifactId>spring-boot-starter-test</artifactId>
</dependency>

猜你喜欢

转载自blog.csdn.net/tealala/article/details/86590078