Skip to content

[Task] Testcontainers 기반 통합 테스트 도입 #16

Description

@HarryBae1011

작업 개요

  • 기존 통합 테스트(AnswerReportApiIntegrationTest, ReportGenerationApiTest, MemberInterviewApiIntegrationTest 등)는 존재하지만 Testcontainers를 사용하지 않음.
  • 로컬/CI 환경에 MySQL이 미리 떠 있어야만 통과하는 구조로 테스트 신뢰성과 CI 재현성이 떨어진다.

작업 범위

  • testcontainers + testcontainers-mysql(또는 동등) 의존성 추가
  • 기존 통합 테스트가 로컬 MySQL 대신 Testcontainers가 띄운 MySQL 컨테이너를 사용하도록 전환

완료 조건

  • 로컬에 MySQL을 미리 띄우지 않은 상태에서 ./gradlew test가 통과함

관련 이슈 / PR

없음

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions