Conversation
|
Ji-soo708
commented
Dec 29, 2024
Member
Author
Ji-soo708
left a comment
There was a problem hiding this comment.
주소
https://sonarcloud.io/project/overview?id=YAPP-Github_25th-Web-Team-2-BE
플로우
test → 테스트 실행 및 Jacoco 커버리지 측정
jacocoTestReport → Jacoco 리포트 생성 (HTML 및 XML)
jacocoTestCoverageVerification → 커버리지 기준 검증 (기준에 미달하면 경고)
측정 기준
- usecase 테스트코드만 측정
- 클래스 커버리지 최소 70% 이상이어야 통과
- 브랜치 커버리지 최소 70% 이상이어야 통과
위와 같이 설정했습니다! 혹시 더 설명이 필요한 부분이 있거나 수정하고 싶은 부분이 있다면 코멘트로 남겨주세요~
chock-cho
approved these changes
Dec 31, 2024
Member
chock-cho
left a comment
There was a problem hiding this comment.
소나 클라우드라는 툴을 처음 알아서 관련 레퍼런스들 좀 서치해가며 차차 공부해보고 있는데, 되게 유용하다는 걸 알게 되었습니다
수고 많으셨습니다!
Ji-soo708
added a commit
that referenced
this pull request
Jan 26, 2025
* chore: add Jacoco test coverage reporting and verification * chore: update ci script for jacoco * fix: sonar sources path * chore: update version in ci script * chore: add upload problems report as artifact step * chore: add continue on error in ci * chore: update version * chore: update Java toolchain configuration * chore: delete upload problems report step
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.



💡 작업 내용
✅ 셀프 체크리스트
🙋🏻 확인해주세요
domain/usecase를 위주로 테스트한다는 전제 하에 구성했습니다🔗 Jira 티켓
https://yappsocks.atlassian.net/browse/YS-39