Skip to content

Test(expense): Expense 도메인 테스트 추가#72

Merged
Peter1119 merged 2 commits intomainfrom
test/expense-domain-tests
Feb 1, 2026
Merged

Test(expense): Expense 도메인 테스트 추가#72
Peter1119 merged 2 commits intomainfrom
test/expense-domain-tests

Conversation

@Peter1119
Copy link
Contributor

Summary

  • Expense 도메인 UseCase 테스트 자동 생성
  • 총 36개 TC 생성 (CreateExpense, DeleteExpense, FetchTravelExpense, UpdateExpense)
  • ExpenseValidationTests Entity 구조 업데이트
  • TestPlan.md 테스트 계획 문서 추가

Test Results

  • 생성된 TC: 36개
  • P0 (Critical): 16개
  • P1 (Important): 12개
  • P2 (Nice to have): 8개

Generated Files

  • Domain/Tests/UseCase/Expense/*.swift
  • Domain/Tests/Reports/TestPlan.md

🤖 Generated with swift-test automation

- CreateExpenseUseCaseTests: 지출 생성 테스트 (14개 TC)
- DeleteExpenseUseCaseTests: 지출 삭제 테스트 (4개 TC)
- FetchTravelExpenseUseCaseTests: 지출 조회 테스트 (7개 TC)
- UpdateExpenseUseCaseTests: 지출 수정 테스트 (11개 TC)
- ExpenseValidationTests: 검증 테스트 업데이트 (Entity 구조 반영)
- TestTags: .expense 태그 추가
- TestPlan.md: Expense 도메인 테스트 계획 문서
- RecordExpenseUseCaseTests 삭제 (CreateExpenseUseCaseTests로 대체)
Copy link
Contributor

@Roy-wonji Roy-wonji left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Peter1119 수고하셨어요!

Copy link
Contributor

@minneee minneee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생하셨습니다~

# Conflicts:
#	Domain/Tests/ExpenseValidationTests.swift
#	Domain/Tests/TestTags.swift
@Peter1119 Peter1119 merged commit f62a272 into main Feb 1, 2026
@Peter1119 Peter1119 deleted the test/expense-domain-tests branch February 1, 2026 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants