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

Test: 사용자 기본 프로필 정보 조회 테스트 코드 작성 #327

Merged
merged 8 commits into from
Feb 16, 2025

Conversation

yumzen
Copy link
Member

@yumzen yumzen commented Feb 14, 2025

#️⃣연관된 이슈

📝작업 내용

  • Test: Controller Test 기본 구조 생성 #326 : 각 도메인에서의 Controller 테스트 코드 작성을 위한 기본 추상 클래스 만들어두었습니다! Member1을 accessToken의 주인으로 설정하는 역할과 기본적인 mockMVC 설정해두었습니다. 각 도메인에서 컨트롤러 관련 테스트코드 작성할 때 사용하시면 될 것 같습니다.
  • Test: 사용자 기본 프로필 조회 테스트 코드 작성 #320 : MemberService, MemberController에서의 사용자 기본 프로필 정보 조회 테스트 코드 작성했습니다! 코드 리뷰해주시면 감사할 것 같습니다😆

🔎코드 설명 및 참고 사항

💬리뷰 요구사항

@yumzen yumzen added the ✅ Test 테스트 코드 label Feb 14, 2025
@yumzen yumzen self-assigned this Feb 14, 2025
Copy link
Member

@ParkJh38 ParkJh38 left a comment

Choose a reason for hiding this comment

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

mockMvc.perform()을 이용한 단위 테스트에서 응답 상태 코드, 메시지, 각 항목에 대한 검증 여부가 잘 확인된 것 같네요! 수고하셨습니다!!

Copy link
Member

@lee-haeseung lee-haeseung left a comment

Choose a reason for hiding this comment

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

lgtm

@yumzen yumzen merged commit fa3ee28 into develop Feb 16, 2025
1 check passed
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.

3 participants