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
[김대겸] Step1 PR #837
[김대겸] Step1 PR #837
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.
안녕하세요 김대겸님!! 👋👋
세번째 인수 테스트 주도 개발 미션 함께 하게 된 한용희라고 합니다! 🙇♂️🙇♂️🙇♂️
1단계 RestAssured
를 활용하여 인수테스트 잘 구현해주신 것 같아요👍👍👍
다음 단계를 진행하시면서 테스트 코드의 가독성을 위해
인수테스트의 동작들을 분리해보는 방법은 어떨까 고민해보시면 좋을 것 같아요 🤔🤔
추가적으로 소소한 코멘트들도 남겨드렸으니 참고해주세요 😆
이번 단계는 잘 진행해주셔서 바로 머지하도록 하겠습니다 👍
그럼 다음 단계도 파이팅입니다!! 🚀💪
givenCreateStation(Map.of("name", station1)); | ||
givenCreateStation(Map.of("name", station2)); |
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.
gradle 의 자바 버전과 프로젝트의 자바 버전 설정 확인 한번만 부탁드리겠습니다. 🙏🙇♂️
gradle 에서는 자바 8로 설정되어 있을텐데
사용해주신 Map.of
는 자바 9 이상에서 사용할 수 있는 메소드 같아서요!
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.
맞습니다~ㅠㅠ 다른 방법을 고민해보도록 하겠습니다!
//@formatter:off | ||
|
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.
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.
넵 감사합니다!
대겸님 의도에 대해서 이해했습니다!
// given | ||
String station1 = "강남역"; | ||
givenCreateStation(Map.of("name", station1)); | ||
|
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 Rest Docs만 사용해봐서 잘 몰랐는데ㅠㅠ 감사드립니다~! 👍 👍 👍 👍 |
안녕하세요 리뷰어님,
1단계 지하철역의 인수 테스트 작성 PR입니다.
잘 부탁드립니다 :)