[BE] Truncate 를 위한 DatabaseCleanup 구현 #117
Closed
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.
작업 대상
DatabaseCleanup 구현
📄 작업 내용
@Sql
어노테이션을 이용하여 Truncate 하던 것을 DatabaseCleanup 을 사용하는 방향으로 변경🙋🏻 주의 사항
현재 Table 명을 Camel Case 에서 Snake Case 로 변경하는 과정을 진행하기 위해 google guava 라이브러리를 사용하고 있고
혹시나 해당 라이브러리를 쓰지 못하는 경우를 대비하여 위 기능만 따로 구현해놨습니다.
스크린샷
📎 관련 이슈
#111
레퍼런스