Repository navigation
build(deps): Pest 5 업그레이드 및 TIA 로컬 전용 설정 - #10
Merged
Merged
Conversation
locally()는 --ci 플래그 유무만 확인하므로 CI 서버에서 플래그 없이 실행하면 TIA가 켜진다. CI 환경 감지로 설정을 감싸 로컬에서만 동작하게 하고, 커버리지 검사는 --ci로 항상 전체 스위트를 실행한다.
initred
added a commit
that referenced
this pull request
Oct 14, 2026
* build(deps): Pest 5 및 PHPUnit 13으로 업그레이드 * test: TIA를 로컬 실행에서만 활성화 locally()는 --ci 플래그 유무만 확인하므로 CI 서버에서 플래그 없이 실행하면 TIA가 켜진다. CI 환경 감지로 설정을 감싸 로컬에서만 동작하게 하고, 커버리지 검사는 --ci로 항상 전체 스위트를 실행한다. * refactor(teams): 사용하지 않는 멤버십 변수 제거
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
요약
Pest 5 / PHPUnit 13으로 올리고, Pest 5의 Test Impact Analysis(TIA)를 로컬 실행에서만 켜지도록 설정합니다.
변경 사항
pestphp/pest및 플러그인(browser, laravel, type-coverage)을 5.x로,phpunit/phpunit을 13.x로 업그레이드tests/Pest.php에서 TIA 설정을Ci::isRunning()검사로 감쌈->locally()는--ci플래그 유무만 확인하므로, CI 서버에서 플래그 없이pest를 실행하면 TIA가 켜지는 문제가 있었음.pest/tia에 저장하고.gitignore에 추가 (Sail 컨테이너 재빌드 시에도 유지)test:unit스크립트에--ci를 추가해 로컬에서도 항상 전체 스위트로 100% 커버리지를 검사CreateTeam,TeamInvitationController의 사용하지 않는 멤버십 변수 제거검증
Sail에서 전체 스위트를 세 가지 모드로 실행했습니다 (모두 212 passed).
CI=true, 플래그 없음--cicomposer test전체(타입 커버리지, 100% 커버리지, lint, PHPStan)는 로컬에서 따로 돌리지 않았으며 CI 결과로 확인이 필요합니다.참고
Pest\Support\Ci는 Pest에서@internal로 표시된 클래스입니다. Pest 업데이트 시 변경될 수 있습니다.--tia플래그나PEST_TIA=1을 명시하면 TIA가 켜집니다. 이 PR은 설정 파일에 의한 자동 활성화만 막습니다.🤖 Generated with Claude Code