Closed
Description
Description
testcontainers를 이용한 통합 테스트를 위한 환경 구축
- Docker Compose 구성
- testcontainer에 docker-compose 환경 공유 고려
To do
- testcontainers
- local:
- only unit test for git commit hook
integration test for git push hook- 통합테스트 환경 분리 설정 - Gradle Kotlin DSL
- git actions:
- unit + integration test
- local:
- Docker Image #43
- gradlew build inside image
- multi-stage build
- layered jar
- Docker-compose
- mysql image
- init scrypt
docker-compose + Testcontainer + git actions- init 속도 문제로 잠정 중단
- 향후 testcontainer에 각각의 container 구성 복잡성이 증가한다면, docker-compose를 testcontainer에서 사용
ect. testcontainer setup study
- 1. spring boot initializr add
testcontainer
- 2. print mysql version
- 3. test simple api
- 4. use singleton pattern container
5. use Docker-compose
Test Checklist
Metadata
Metadata
Assignees
Type
Projects
Status
Done