[5주차] 테스트 코드 작성 및 커버리지 측정#102
Merged
DongHyunKIM-Hi merged 13 commits intohanghae-skillup:somin-jeongfrom Feb 11, 2025
Merged
Conversation
좋은점
리뷰
build.gradle에 환경 변수를 지정해주는 형식으로 해줘도 될 것 같습니다. 그리고 테스트 환경에서 실제 상용 디비를 보통은 사용하지 않아요. H2 라는 인메모리 디비를 통해서 테스트를 진행하는 편입니다.
위의 내용과 비슷하지만 테스트 환경에서는 상용 환경의 디비와 연결 시켜서 테스트하지 않습니다. 그때 사용하는 방식으로는 h2 인메모리 디비를 통해서 테스트를 진행합니다. 절대 테스트로 인해서 상용 데이터가 변경되는 가능성을 원천 봉쇄 합니다. |
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.
제목(title)
[5주차] 테스트 코드 작성 및 커버리지 측정
작업 내용
발생했던 문제와 해결 과정을 남겨 주세요.
이번 주차에서 고민되었던 지점이나, 어려웠던 점을 알려 주세요.
리뷰 포인트
기타 질문