“在 Spring Boot 2.x 中应用JUnit 4.x 进行单元测试”的版本间的差异
跳到导航
跳到搜索
Jihongchang(讨论 | 贡献) (建立内容为“1”的新页面) |
Jihongchang(讨论 | 贡献) |
||
| 第1行: | 第1行: | ||
| − | + | === pom.xml === | |
| + | <syntaxhighlight lang="xml"> | ||
| + | <dependency> | ||
| + | <groupId>org.springframework.boot</groupId> | ||
| + | <artifactId>spring-boot-starter-test</artifactId> | ||
| + | <scope>test</scope> | ||
| + | </dependency> | ||
| + | </syntaxhighlight> | ||
2023年1月28日 (六) 22:38的版本
pom.xml
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>