Test: jacoco test coverage에 맞게 테스트 코드 작성 #207
Merged
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.
PR
✨ 작업 내용
✨ 참고 사항
method coverage
퍼센티지를 낮춰놓는 쪽으로 진행했습니다.method coverage
: 0.4 ,branch coverage
: 0.5branch coverage
는 비율을 더 높여도 좋을 것 같습니다!jacocoTestReport 생성 프로세스
를 모두 합쳤었는데 이렇게 하니 테스트 코드 작성 시에 한 메서드 씩 실행하는 경우jacocoTestCoverageVerification
을 위반하는 불편함이 있었습니다. (다른 테스트 코드는 실행을 안하니 커버리지 0 달성) 따라서./gradlew test
커맨드 시에는 단순 테스트,./gradlew jacocoTestReport
시에는 테스트 후 jacocoTestReport 를 생성하도록 프로세스를 변경했습니다.⏰ 현재 버그
x
✏ Git Close