Open tableMinPark opened 8 months ago
related issue : #1
방식으로 Issue 번호를 적기feat: 회원 가입 컨트롤러 개발
feat
, fix
, refactor
,config
만 사용application-test.yml
을 생성하여 테스트 환경만의 설정 파일을 만든다.@TestPropertySource(locations = "classpath:application-test.yml")
을 통해 테스트용 환경 파일을 사용하도록 한다.DisplayName()
에는 테스트하는 항목 설명을 기입한다. (ex. 회원 id를 입력하지 않아도 id가 등록된다.)@DataJpaTest
를 사용해 내부 DB를 통해 진행한다.
할일