Replies: 3 comments
-
테스트를 위한 생성자는 개인적으로 좋다 생각합니다. 하지만 테스트에서만 필요한 메서드는 만들면 안된다 생각합니다. |
Beta Was this translation helpful? Give feedback.
-
테스트에서만 필요한 무언가(getter, 생성자, 어쩌구)는 기본적으로 지양하는 것이 좋다고 생각합니다. |
Beta Was this translation helpful? Give feedback.
-
getter는 지양 생성자는 합리적일 경우 ok |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
다른 크루들의 의견이 필요한 부분입니다.
제 생각은 "만들어도 괜찮지만, 적당히 하기(기본적으로는 지양, 만들었을때 가치가 더 크면 만들기)" 입니다.
이 질문에 답할 때, 테스트에서만 필요한 메서드를 만들어서 발생하는 문제점도 설명해주면 좋을듯?
이걸 보는 당신의 의견이 궁금해요.
Beta Was this translation helpful? Give feedback.
All reactions