[Step2] ian.lee2 인수 테스트 체계 고도화 코드 리뷰#52
Open
ianlee2 wants to merge 8 commits intonext-step:ianlee2from
Open
Conversation
…erTest(PostgreSQL) 실행 분리
shared-moon
requested changes
Feb 24, 2026
shared-moon
left a comment
There was a problem hiding this comment.
주승님 안녕하세요!
2단계 미션 잘 진행 해 주셨네요 :)
좀 고민해보면 좋을 것 같은 코멘트를 몇개 남겨뒀는데요
확인해보시고 리뷰 재요청 부탁드려요!
| 기능: 상품 관리 | ||
|
|
||
| 시나리오: 상품을 생성하고 목록에서 확인한다 | ||
| Given 빈 데이터 상태다 |
There was a problem hiding this comment.
제가 개발자라 그런지 Given-When-Then은 약간 테스트코드를 문자열로만 옮겨 온 느낌인데요..!
만약 ~~라면 조건이 ~~일 때 응답은 ~~다 이런 식으로 표현될 수 있게 해보면 어떨까요 ?
| 기능: 선물하기 | ||
|
|
||
| 시나리오: 재고가 충분할 때 선물하기에 성공한다 | ||
| Given 기본 테스트 데이터가 준비되어 있다 |
There was a problem hiding this comment.
중복 제거보단 테스트 데이터가 어떻게 세팅된지가 여기 드러나는게 좋을 것 같아요!
이건 비단 여기뿐만이 아니라 테스트코드 작성할때는 개인적으로 재사용성보단 테스트 가독성에 더 중점을 둬야 한다고 생각합니다!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
작업 요약
인수 테스트 체계를 고도화하여 테스트 실행 경로를 명확히 분리하고, Cucumber BDD + PostgreSQL + Docker 기반 검증 흐름을 구축했습니다.
주요 변경 사항
상세 변경