Skip to content

[test/#519] 모임 도메인 테스트코드 작성#558

Open
dbalsk wants to merge 33 commits intodevelopfrom
feat/#519
Open

[test/#519] 모임 도메인 테스트코드 작성#558
dbalsk wants to merge 33 commits intodevelopfrom
feat/#519

Conversation

@dbalsk
Copy link
Copy Markdown
Contributor

@dbalsk dbalsk commented Mar 29, 2026

❤️ 기능 설명

  • 모임 도메인의 단위테스트 코드를 작성했습니다.
  • 모임 도메인의 통합테스트 코드를 작성했습니다.

swagger 테스트 성공 결과 스크린샷 첨부
image

연결된 issue

연결된 issue를 자동으로 닫기 위해 아래 {이슈넘버}를 입력해주세요.

close #519



🩷 Approve 하기 전 확인해주세요!

  • 리뷰어가 확인해줬으면 하는 사항 적어주세요.
  • [ ]

✅ 체크리스트

  • PR 제목 규칙 잘 지켰는가?
  • 추가/수정사항을 설명하였는가?
  • 테스트 결과 사진을 넣었는가?
  • 이슈넘버를 적었는가?

dbalsk added 25 commits March 17, 2026 11:29
@dbalsk dbalsk requested review from Dimo-2562 and kanghana1 March 29, 2026 10:51
@dbalsk dbalsk self-assigned this Mar 29, 2026
@dbalsk dbalsk added the TEST 테스트코드를 짭시다 label Mar 29, 2026
Copy link
Copy Markdown
Contributor

@kanghana1 kanghana1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

커밋 수 굉장합니다...... 고생하셨어용


// when
Slice<PartyDTO.Response> result = partyQueryService.getRecommendedParties(memberId, false,
filter, "최신순", pageable);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

필터이름을 String보다는 Enum으로 두는 게 일관성 있을 거 같다는 생각이 갑자기 드네요! 나중에 여유되면 바꿔도 좋을 거 같습니다

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

예전에 개발할 당시에 세훈님과 컨벤션을 맞추고 프론트 측에서 한국어로 작성할 수 있도록 fromKorean을 적용했던 것 같습니다. 이거는 프론트 측 작업도 필요해서 추후에 변경해보겠습니다!

Copy link
Copy Markdown
Contributor

@Dimo-2562 Dimo-2562 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

전체적으로 import문 한 번만 신경써주시고, MEMBER_NOT_FOUND와 PARTY_NOT_FOUND 실패 예외 또한 검증되면 좋을 거 같습니다! 감사합니다.

}

@Nested
@DisplayName("GET /api/my/parties - 내 모임 조회")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

API - 내 모임 조회

  1. 성공 - 최신순뿐만 아니라 오래된 순, 운동 많은 순도 성공 테스트에 있으면 좋을거 같습니다.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

반영했습니다.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

TEST 테스트코드를 짭시다

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEAT] Party 테스트코드 작성

3 participants