Spring
@BeforeEach
keepgoing
2023. 1. 30. 12:56
- 테스트시에 메서드마다 Repository가 초기화되도록 하는 어노테이션
@BeforeEach
void clean(){
boardRepository.deleteAll();
}