Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BE] 테스트용 bean definition overriding 설정 파일 분리 #968

Merged
merged 1 commit into from
May 17, 2024

Conversation

pilyang
Copy link
Collaborator

@pilyang pilyang commented May 17, 2024

기존

기본 테스트 설정파일 (test/resources/application.yml)에서 빈 오버라이딩 설정 추가

변경

빈 오버라이딩 설정 파일 분리 bean-definition-overriding-config/properties

모든 테스트에 오버라이딩을 허용하여 차후 생길 수 있는 문제의 발생 가능성이 있어서 해당 설정 분리
필요한 경우에만 @TestPropertySource 어노테이션을 통해서 해당 설정 파일 추가해서 오버라이딩 진행

Copy link

Test Results

159 files  159 suites   32s ⏱️
510 tests 510 ✅ 0 💤 0 ❌
514 runs  514 ✅ 0 💤 0 ❌

Results for commit 8d86d59.

@pilyang pilyang merged commit d482d45 into develop May 17, 2024
3 checks passed
@pilyang pilyang deleted the refactor/be/test-config-seperate branch May 17, 2024 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant