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

feat: 그룹 생성 커맨드 구현 #40

Merged
merged 1 commit into from
Nov 14, 2023
Merged

feat: 그룹 생성 커맨드 구현 #40

merged 1 commit into from
Nov 14, 2023

Conversation

Coalery
Copy link
Member

@Coalery Coalery commented Nov 14, 2023

주요 변경 사항

  • 그룹 생성 커맨드를 구현하고, 그 핸들러를 구현합니다.
  • 그에 따른 이벤트를 구현하고, 그 핸들러를 구현합니다.
  • 테스트용 파일의 도메인 fixture를 관련 디렉토리를 만들어 파일로 분리합니다.
  • 관련 테스트 코드를 작성합니다.

변경 이유

레거시를 구현합니다.

@Coalery Coalery self-assigned this Nov 14, 2023
Copy link

Coverage report

St.
Category Percentage Covered / Total
🟡 Statements
69.34% (+17.02% 🔼)
511/737
🔴 Branches
47.22% (+5.33% 🔼)
51/108
🔴 Functions
41.67% (+13.32% 🔼)
95/228
🟡 Lines
68.76% (+17.48% 🔼)
471/685
Show new covered files 🐣
St.
File Statements Branches Functions Lines
🟢
... / GroupCreated.ts
100% 100% 100% 100%
🟢
... / GroupFactory.ts
100% 100% 100% 100%
🟢
... / index.ts
100% 100% 100% 100%
🟢
... / user.ts
100% 100% 100% 100%
🟢
... / PointGranted.ts
100% 100% 100% 100%
🟡
... / PointHistory.ts
61.54% 100% 16.67% 61.54%
🟢
... / interest.ts
100% 100% 100% 100%
🟢
... / group.ts
100% 100% 100% 100%
🟢
... / GroupAuthorizer.ts
100% 100% 100% 100%
🟢
... / CreateGroupCommandHandler.ts
100% 52.94% 100% 100%
🟢
... / CreateGroupCommand.ts
100% 100% 100% 100%
🟢
... / CreateGroupCommandResult.ts
100% 100% 100% 100%
🟢
... / GroupMemberFactory.ts
100% 100% 100% 100%
🟢
... / GroupInterestFactory.ts
100% 100% 100% 100%
🟢
... / IGroupMemberRepository.ts
100% 100% 100% 100%
🟢
... / IGroupRepository.ts
100% 100% 100% 100%
🟢
... / IGroupInterestRepository.ts
100% 100% 100% 100%
🟢 test/util.ts 100% 100% 100% 100%
🟢
... / GroupCreatedHandler.ts
100% 57.14% 100% 100%
🟢 constant/point.ts 100% 100% 100% 100%
🟢
... / PointGrantedHandler.ts
100% 50% 100% 100%
🟢
... / PointHistoryFactory.ts
100% 100% 100% 100%
🟢
... / IPointHistoryRepository.ts
100% 100% 100% 100%

Test suite run success

57 tests passing in 18 suites.

Report generated by 🧪jest coverage report action from 65259b7

@Coalery Coalery merged commit 5687e2b into main Nov 14, 2023
2 checks passed
@Coalery Coalery deleted the feat/create-group branch November 14, 2023 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant