Skip to content

[Phase 9] 통합 테스트 작성 (api) #135

Description

@tnals0924

어떤 기능인가요?

#126 파생 — Kotest + MockMvc + H2로 모든 HTTP 엔드포인트 통합 테스트 작성.

📝 작업 상세 내용

  • api/build.gradle.kts에 Kotest + kotest-extensions-spring + springmockk + H2 의존성 추가
  • api/src/test/resources/application-test.yml 작성 (H2 datasource)
  • TestJwtHelper 작성: 테스트용 JWT 토큰 생성 유틸
  • 사용자 API 통합 테스트 ({Domain}ControllerTest)
    • item, member(auth), notification, rental, display
  • 관리자 API 통합 테스트 (Admin{Domain}ControllerTest)
    • item, member, payer, notification, rental, configvalue
  • 각 테스트: 성공 케이스 + 주요 실패 케이스 (400, 401, 403, 404)

📁 참고 자료 (선택)

docs/multimodule-plan.md — 테스트 전략 (통합 테스트)

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