Skip to content

Feat/4 implement User #30

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

Merged
merged 43 commits into from
Aug 1, 2023
Merged

Feat/4 implement User #30

merged 43 commits into from
Aug 1, 2023

Conversation

minjun3021
Copy link
Collaborator

@minjun3021 minjun3021 commented Jul 12, 2023

What is this PR?

Key Changes

Test Checklist

Copy link
Member

@junha-ahn junha-ahn left a comment

Choose a reason for hiding this comment

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

코틀린 스프링부트에 관한 내용이 많아서 보기 어려운것들은 패스하고, 아는 한에서 열심히 댓글 달아봤습니다 :)

@junha-ahn
Copy link
Member

junha-ahn commented Jul 16, 2023

Todo

  • 가장 최신의 Main branch에 내용을 해당 브랜치에 적용시켜주세요. (여러 CI 작업이 포함되어있습니다)
  • 브랜치 이름 변경: rule
    • remote branch 이름 변경은 삭제로 가능하다, PR 보호를 위해 해당 브랜치는 이름 변경 안해도 됩니다.

@junha-ahn
Copy link
Member

junha-ahn commented Jul 17, 2023

test 작성시 참고: Spring Security가 적용된 곳을 효율적으로 테스트하자.

아마 로그인 관련 로직 unit test는 자료 조사가 많이 필요할 것 같습니다. (통합테스트는 아직입니다 #31 에서 준비중)

@junha-ahn junha-ahn linked an issue Jul 17, 2023 that may be closed by this pull request
@junha-ahn junha-ahn changed the title Feature/4 user register Feat/4 implement User Jul 17, 2023
Copy link
Member

@junha-ahn junha-ahn left a comment

Choose a reason for hiding this comment

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

유닛 테스트 / 통합 테스트

SignIn, GetAceessToken 테스트는 그대로 Integration 에서 진행하고
CreateUser에 대한 Controller Test는 src/test/ 밑으로 옮기면 될것 같습니다.
필요없어진 TestUserDetailService는 삭제 부탁드립니다.

의견

  • Fake Object TestUserDetailService 의 관리가 점점 부담으로 다가올 것으로 예상
  • 각 테스트 단위로 메서드를 쉽게 Mock up할 수 있지만 Fake Object는 input에 대한 조건문을 구현해야하는 복잡성
  • createUser는 spring security 관련 의존성이 없으니 슬라이스 테스트(src/test/...) 진행

Copy link
Member

@junha-ahn junha-ahn left a comment

Choose a reason for hiding this comment

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

KtFormat 돌려 주세요! 이제 끝이네요! 굳입니다 👍

@minjun3021 minjun3021 mentioned this pull request Aug 1, 2023
1 task
Copy link
Collaborator

@hihahayoung hihahayoung left a comment

Choose a reason for hiding this comment

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

수고수고했습니다!

@junha-ahn junha-ahn merged commit 027b988 into main Aug 1, 2023
@junha-ahn junha-ahn deleted the Feature/4-user-register branch August 1, 2023 08:00
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.

회원 기능 구현
4 participants