-
Notifications
You must be signed in to change notification settings - Fork 0
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: 스크랩 관련 Domain, Service 유닛 테스트 코드 작성 #155
Conversation
…erver into test/post-pagination
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이런 식으로 쿼리로 리팩토링하신 것 좋은 방법인 것 같습니다!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Spring Security가 있어서 통합 테스트하려면 Security 테스트 환경을 구축해야 합니다! 제가 아직 안 해놔서.. 꼭 시간 나면 해놓을게요
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
별도의 Builder 패턴을 사용하지 않고 이렇게 생성자를 만드신 이유 궁금합니다!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Builder 패턴 사용했을 때 id값이 자동으로 설정이 안되어서 수동으로 id값을 설정해주기 위해 사용했습니다 이 부분에 대해서는 한번 다시 찾아보고 수정해보겠습니다!!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
비슷한 메소드들끼리 @nested 활용해서 묶어주신 것 굉장히 좋은 방법인 것 같습니다!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
배워가요~
#️⃣ 연관된 이슈
📝 작업 내용
스크린샷 (선택)
💬 리뷰 요구사항(선택)