-
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
ControllerTest RestDocsSupport를 상속받아 테스트를 수행하도록 리팩토링 #132
base: develop
Are you sure you want to change the base?
Conversation
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.
테스트 설정이 제일 어려운 것 같습니다.
고생하셨습니다 ㅠㅠ
academyCalendarService = mock(AcademyCalendarService.class); | ||
academyCalendarFacade = mock(AcademyCalendarFacade.class); |
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.
저희 Mock 제거하기로 해서, 이 코드는 없어질 것 같네요!
@ExtendWith(RestDocumentationExtension.class) | ||
public abstract class RestDocsSupport { | ||
|
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.
설정 클래스가 아닌 추상 클래스를 선택하신 이유가 궁금합니다!!
한 일
앞으로 해야할 일