Skip to content

[Phase 8] 단위 테스트 작성 (core) #134

Description

@tnals0924

어떤 기능인가요?

#126 파생 — Kotest + MockK로 core 모듈 비즈니스 로직 단위 테스트 작성.

📝 작업 상세 내용

  • core/build.gradle.kts에 Kotest + MockK 의존성 추가
  • {Domain}ServiceTest 작성 (DescribeSpec, Spring 컨텍스트 없음)
    • RentalServiceTest: 재고 부족, 중복 대여, 시험 기간, 주말 규칙
    • MemberServiceTest: 회비 미납 대여 불가 등
    • 나머지 도메인 Service 테스트
  • {Domain}ReaderTest 작성: not found 예외 케이스

📁 참고 자료 (선택)

docs/multimodule-plan.md — 테스트 전략 (단위 테스트)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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