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

test 진행시 @SpringBootTest 사용 유의 #21

Open
FeelingXD opened this issue Jun 7, 2023 · 0 comments
Open

test 진행시 @SpringBootTest 사용 유의 #21

FeelingXD opened this issue Jun 7, 2023 · 0 comments
Labels
bug Something isn't working invalid This doesn't seem right

Comments

@FeelingXD
Copy link
Member

@SpringBootTest 사용시 githubAction 에 의한 ci-cd 테스트 동작이 정상적으로 작동하지않습니다.
application.properties(or yml) 에작성된 mysql, redis 에대한 설정이 github action에서 제공하는 cloud에는 없기때문에 contextload 에러를 출력하며 정상작동하지않습니다. 이에 Mockito.class 를 이용한 테스트 과정을 권장드리며 @SpringBootTest 빌드가 부득이하게 필요한경우 @FeelingXD 를 호출해주세요 이에맞추어 CI-CD 로직을 수정하겠습니다.

@FeelingXD FeelingXD added bug Something isn't working invalid This doesn't seem right labels Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

1 participant