feat(test): 添加Spring Boot测试依赖

- 在pom.xml中添加spring-boot-starter-test依赖
- 配置测试依赖范围为test- 更新.gitignore忽略.claude/目录
master
李一帆 2025-09-25 14:29:57 +08:00
parent 8f25f1e7ba
commit ffb4382070
2 changed files with 8 additions and 0 deletions

1
.gitignore vendored
View File

@ -4,6 +4,7 @@ yarn-debug.log*
yarn-error.log* yarn-error.log*
pnpm-debug.log* pnpm-debug.log*
CLAUDE.md CLAUDE.md
.claude/
/target/ /target/
!.mvn/wrapper/maven-wrapper.jar !.mvn/wrapper/maven-wrapper.jar

View File

@ -260,6 +260,13 @@
<artifactId>okhttp</artifactId> <artifactId>okhttp</artifactId>
<version>4.12.0</version> <version>4.12.0</version>
</dependency> </dependency>
<!-- spring boot test -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies> </dependencies>
<build> <build>