chore(gitignore): IDE 테스트 결과 파일 추적을 제외한다

This commit is contained in:
2026-03-11 13:50:08 +09:00
parent 418b734c3f
commit 5bd4e45542
2 changed files with 19 additions and 0 deletions

1
.gitignore vendored
View File

@@ -45,6 +45,7 @@ captures/
# IntelliJ # IntelliJ
*.iml *.iml
.idea/deviceManager.xml .idea/deviceManager.xml
.idea/androidTestResultsUserPreferences.xml
.idea/workspace.xml .idea/workspace.xml
.idea/tasks.xml .idea/tasks.xml
.idea/gradle.xml .idea/gradle.xml

View File

@@ -0,0 +1,18 @@
# 2026-03-11 IDE 테스트 결과 파일 gitignore 추가
## 체크리스트
- [x] `.idea/androidTestResultsUserPreferences.xml` 파일 성격 확인
- [x] `.gitignore`에 필요한 ignore 패턴 반영
- [x] 변경사항 검증 및 결과 기록
## 검증 기록
- 2026-03-11
- 무엇/왜/어떻게: `.idea/androidTestResultsUserPreferences.xml`은 Android Studio의 사용자별 테스트 결과 테이블 상태(컬럼 폭, 로컬 디바이스명) 저장 파일로 확인되어 저장소 공용 추적 대상에서 제외했다.
- 실행 명령: `git check-ignore -v .idea/androidTestResultsUserPreferences.xml`
- 결과: `.gitignore`의 신규 규칙(`.idea/androidTestResultsUserPreferences.xml`)에 의해 ignore 처리됨을 확인.
- 실행 명령: `git status --short`
- 결과: 기존 미추적 IDE 파일 노출이 사라지고, 의도한 변경 파일(`.gitignore`, 본 문서)만 상태에 표시됨.
- 실행 명령: `./gradlew :app:test && ./gradlew :app:assembleDebug`
- 결과: 테스트/빌드 모두 `BUILD SUCCESSFUL`.
- 실행 명령: `lsp_diagnostics(.gitignore)`, `lsp_diagnostics(docs/20260311_ide테스트결과파일gitignore추가.md)`
- 결과: `.gitignore`는 LSP 미지원 확장자로 진단 불가, 문서 파일은 진단 이슈 없음.