[chore/#122] 통합 테스트 전용 yml 파일 생성 #124
Merged
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.
❤️ 기능 설명
통합 테스트 환경 개선 작업입니다.
주요 변경사항
테스트용 application 설정 파일 추가 (
application-integrationtest.yml)ddl-auto: create-drop)org.hibernate.tool.schema: ERROR)InitialDataConfig 프로파일 제한
@Profile({"local", "local-tunnel", "dev"})추가PostControllerIntegrationTest 개선
@AfterEach메서드 추가로 테스트 간 데이터 정리DynamicProperties를 통해 수동으로 설정을 주입하는 대신ServiceConnection어노테이션 활용함.@Transactional어노테이션 제거로 실제 환경과 유사하게 테스트하도록 함.Spring Boot 버전 업그레이드
연결된 issue
close #122
🩷 Approve 하기 전 확인해주세요!
✅ 체크리스트