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

@ConditionalOnMissingBean 기반 단위테스트 수정 #125

Open
hun-ca opened this issue Jun 27, 2024 · 0 comments
Open

@ConditionalOnMissingBean 기반 단위테스트 수정 #125

hun-ca opened this issue Jun 27, 2024 · 0 comments
Assignees
Labels
refactor 기존 기능에 대해 개선할 때 사용됩니다.

Comments

@hun-ca
Copy link
Member

hun-ca commented Jun 27, 2024

테스트 yml 등록하지 않고 사용

  • mockk로 모킹시 모킹된 것이 갖는 모든 관련된 코드를 가져옴(무겁)
  • @ConditionalOnMissingBean를 사용해서 테스트에서 사용될 로직을 구현하거나 NoOp으로 가볍게 설정
@hun-ca hun-ca added the refactor 기존 기능에 대해 개선할 때 사용됩니다. label Jun 27, 2024
@hun-ca hun-ca self-assigned this Jun 27, 2024
@hun-ca hun-ca changed the title Conditionalonmissingbean 적용 @ConditionalOnMissingBean 기반 단위테스트 수정 Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor 기존 기능에 대해 개선할 때 사용됩니다.
Projects
None yet
Development

No branches or pull requests

1 participant