Skip to content
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

[Config] Jacoco 설정 #4

Closed
2 tasks done
HyeonJun0530 opened this issue Aug 11, 2024 · 0 comments · Fixed by #8
Closed
2 tasks done

[Config] Jacoco 설정 #4

HyeonJun0530 opened this issue Aug 11, 2024 · 0 comments · Fixed by #8
Assignees
Labels
설정 프로젝트에 필요한 요소를 설정한다

Comments

@HyeonJun0530
Copy link
Member

HyeonJun0530 commented Aug 11, 2024

💡 어떤 기능인가요?

Jacoco를 통한 테스트 커버리지 룰 설정입니다. 깃허브 액션을 통해 PR에 테스트 커버리지에 대한 정보를 Comment로 알려줍니다.

✅ 작업 상세 내용

  • Jacoco Gradle 설정
  • Jacoco Github Action 설정

⏰ 예상 기간

  • 1시간

참고할만한 자료(선택)

https://techblog.woowahan.com/2661/
https://creampuffy.tistory.com/193

@HyeonJun0530 HyeonJun0530 added the 기능 New feature or request label Aug 11, 2024
@HyeonJun0530 HyeonJun0530 self-assigned this Aug 11, 2024
@HyeonJun0530 HyeonJun0530 changed the title config: Jacoco 설정 [Config] Jacoco 설정 Aug 11, 2024
@HyeonJun0530 HyeonJun0530 added 설정 프로젝트에 필요한 요소를 설정한다 and removed 기능 New feature or request labels Aug 11, 2024
HyeonJun0530 added a commit that referenced this issue Aug 12, 2024
## ✅ PR 체크
- [x] 하나의 PR 에는 100줄 정도의 커밋을 한다는 규칙을 지키고 있나요?
- [x] 무엇을 변경했는지 충분히 설명하고 있나요?
- [x] 새로운 기술을 사용했다면, 그 기술을 설명하고 있나요?
- [x] 이해하기 어려운 비즈니스 로직에 관해서 부연 설명을 하고 있나요?
- [x] 팀원 한 명을 Assign 했나요?
- [x] 작업 범위에 대해서 테스트를 작성하셨나요?

## 🚨 관련 이슈
closes #4

## 🌈 작업 상황
- 코드 커버리지 측정 및 브랜치 커버리지 측정을 위해 Jacoco를 도입했어요.
  - 코드 커버리지 80%, 브랜치 커버리지 70%가 넘지 않으면 빌드가 되지 않으니 주의 하세요.
- 깃허브 액션을 통해 Report를 생성하고 이를 PR Comment에 달게 만들었어요.
  - 물론 커버리지를 채우지 못하면 build가 되지 않아 실패하니 유의하길 바랄께요.

## 📌 기타

---------

Co-authored-by: KyuWon  Kim <[email protected]>
Co-authored-by: HyeonJun0530 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
설정 프로젝트에 필요한 요소를 설정한다
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant