ResponseEntit<>
테스트 메서드 이름은 구체적으로. (예시 : 이름이_공백인_숙소_생성_실패
)
접근제어자 표기
값 객체 테스트 방식
Email email = new Email("[email protected]"); assertThat(email).isEqualTo(new Email("[email protected]");
given/when/then
주석 적용
final
- 필요한 곳에는 항상 사용
class - dto
,util
성 클래스
field - 상수, 로직
local variable, method paramter - extention
@Transactional
→ 제거 가능하다면 제거git submodule