비즈니스 로직 테스트 방법
- unit test, solitary test -> 필요로 하는 것들만 사용하거나 mocking, slice test
- 컨트롤러 입출력 확인
- 에러 검증
- 비즈니스 로직의 동작
- integration test, sociable test -> @SpringBootTest
- 인증 + api 호출
- api 호출 -> 비즈니스 -> 데이터 접근 -> 응
'개발 > Spring' 카테고리의 다른 글
Devtool (0) | 2024.02.24 |
---|---|
타임리프(thymeleaf) (0) | 2024.02.20 |
spring boot properties (0) | 2024.02.20 |
오류 처리 (0) | 2024.02.19 |
Validation (0) | 2024.02.19 |