From ffb4382070332eb947e1bfb06b42f431a5f673c3 Mon Sep 17 00:00:00 2001 From: lyf66 Date: Thu, 25 Sep 2025 14:29:57 +0800 Subject: [PATCH] =?UTF-8?q?feat(test):=20=E6=B7=BB=E5=8A=A0Spring=20Boot?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在pom.xml中添加spring-boot-starter-test依赖 - 配置测试依赖范围为test- 更新.gitignore忽略.claude/目录 --- .gitignore | 1 + pom.xml | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/.gitignore b/.gitignore index 11705e0..301f204 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,7 @@ yarn-debug.log* yarn-error.log* pnpm-debug.log* CLAUDE.md +.claude/ /target/ !.mvn/wrapper/maven-wrapper.jar diff --git a/pom.xml b/pom.xml index d155a6c..568bf30 100644 --- a/pom.xml +++ b/pom.xml @@ -260,6 +260,13 @@ okhttp 4.12.0 + + + + org.springframework.boot + spring-boot-starter-test + test +