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

테스트 코드 작성 #36

Open
junshock5 opened this issue Sep 21, 2020 · 0 comments
Open

테스트 코드 작성 #36

junshock5 opened this issue Sep 21, 2020 · 0 comments
Assignees

Comments

@junshock5
Copy link
Collaborator

Spring Starter Unit Test

@junshock5 junshock5 self-assigned this Sep 21, 2020
junshock5 added a commit that referenced this issue Sep 21, 2020
- spring-boot-starter 안에 junit 및 mockito framework가 포함됨으로 기존 필요없는 의존성 삭제
- README 파일에 테스트 내용 추가
- UserServcieImplTest api 메서드 작성
junshock5 added a commit that referenced this issue Sep 21, 2020
- ProductServiceImplTest api 메서드 작성
junshock5 added a commit that referenced this issue Sep 21, 2020
- CategoryServiceImplTest api 메서드 작성
junshock5 added a commit that referenced this issue Sep 21, 2020
- ProductServiceImplTest api 메서드에 ProductServiceImpl의 api 메서드 테스트 추가
- productDao에서 캐시 삭제부분 예외처리 대신 에러 로그로 변경
junshock5 added a commit that referenced this issue Sep 21, 2020
- ProductSearchServiceImplTest의 api 메서드 테스트 추가
junshock5 added a commit that referenced this issue Sep 23, 2020
- deleteProduct 메서드에 실패시 예외로 변경
- 테스트시 Mock 어노테이션으로 redisTemplate에 데이터 추가하여 캐싱 처리 중..
junshock5 added a commit that referenced this issue Sep 23, 2020
- assertTrue -> assertEquals 메서드 변경
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant