Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
명세란?
소프트웨어 개발 프로세스의 시작인 요구사항을 분석하고 정의하는 단계에서 작성되는 최종 산출물
단위테스트에서 Given / When / Then 에 대해 설명해주세요
Given: 테스트를 실행하기 위해 필요한 초기 상태를 설정한다.
When: 테스트할 동작 또는 이벤트를 실행한다.
Then: 기대하는 결과를 검증한다.
테스트 코드를 작성하는 이유는?
무엇을 만들어야하는지, 의도된 대로 작동하는지 검증
동작 이해에 도움 / 문서로서의 역할 가능
빠른 피드백, 재활용
software 품질 향상
@SpringBootTest 가 하는 역할은?
@SpringBootTest는 Spring Boot 애플리케이션의 통합 테스트를 위해 사용되는 애노테이션
@test 가 하는 역할은?
@test는 JUnit 프레임워크에서 사용되는 애노테이션으로, 해당 메서드가 테스트 메서드임을 나타냄
mockito를 쓰는 이유는?
객체를 쉽게 만들고, 관리하고, 검증하기 위해
assertAll 가 하는 역할은?

여러 개의 단언문을 그룹화하여 한 번에 실행하고 모든 단언문의 결과를 통합하여 반환하는 기능을 제공