Skip to content
This repository has been archived by the owner on Aug 13, 2022. It is now read-only.

[#30] Owner 테스트 코드 작성 #33

Merged
merged 1 commit into from
Nov 25, 2019
Merged

[#30] Owner 테스트 코드 작성 #33

merged 1 commit into from
Nov 25, 2019

Conversation

binaryyoung
Copy link
Contributor

No description provided.

@binaryyoung binaryyoung self-assigned this Nov 22, 2019
Copy link
Member

@f-lab-dev f-lab-dev left a comment

Choose a reason for hiding this comment

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

구현확인 완료했습니다. 참고로 junit5를 적용하면 테스트에 이름 지어주기 편해집니다. (intellij에서 테스트명을 한글로 지을 수 있습니다)

*/
@Test
public void signUp_success() {
OwnerDTO ownerInfo = OwnerDTO.builder()
Copy link
Member

Choose a reason for hiding this comment

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

빌더 적용하신 아이디어 좋습니다.

Copy link
Collaborator

Choose a reason for hiding this comment

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

질문있습니다! 빌더를 적용한 경우 기본 생성자를 생성할 수 없게 변하던데, 이 경우 문제는 없는건가요?

Copy link
Member

Choose a reason for hiding this comment

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

기본생성자는 없어도 됩니다. 사실 구현의 자유인게 어차피 null을 넣을거라면 기본생성자나 빌더나 역할은 비슷하니까요

@binaryyoung binaryyoung merged commit 5e3c4c2 into develop Nov 25, 2019
@binaryyoung binaryyoung changed the title #30 feature/14 [#30] Owner 테스트 코드 작성 Dec 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants