-
Notifications
You must be signed in to change notification settings - Fork 3
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
요구사항 명세에 근거한 인수테스트 작성 #139
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.
수고하셨습니다!!!
.email("[email protected]") | ||
.password("Test1234!") | ||
.email(EMAIL) | ||
.password(encodedPassword) |
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.
👍
@Transactional | ||
@AutoConfigureMockMvc | ||
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.MOCK) |
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.
@AutoConfigureMockMvc에 대해서 처음 알았네욥
MockMvc를 주입받아서 톰캣 서버를 띄우지 않은 상태로 API 요청 부분을 Mocking 해서 사용
하지만 스프링 컨텍스트의 빈을 모두 로드하는 것은 @SpringBootTest 와 동일
* 조회 기준은 둥록일 최신순 또는 보호만료일이 가까운 순으로 확인할 수 있다. | ||
* 더보기 버튼을 통해 최신순 또는 안락사 기간 기준으로 각각 전체 리스트를 확인할 수 있다. | ||
* 페이지 당 프로필을 각각 8개 단위로 확인할 수 있다. | ||
*/ |
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.
👍
작업 내용
Close #131