Skip to content

Merge pull request #45 from eunjooChoi/test-code-coverage #124

Merge pull request #45 from eunjooChoi/test-code-coverage

Merge pull request #45 from eunjooChoi/test-code-coverage #124

GitHub Actions / Xcode test results succeeded Mar 26, 2024 in 0s

Xcode test results

Testing project PlantingMind with scheme PlantingMind

Summary

TotalSuccess PassedFailure FailedSkipped SkippedExpected Failure Expected Failure⏱️ Time
323200080.70s

Test Summary

PlantingMindTests

  • Device: iPhone 15 Pro, 17.0.1 (21A342)
  • SDK: Simulator - iOS 17.0, 17.0
TestTotalSuccessFailureSkippedExpected Failure
test-class CalendarViewModelTests99000
test-class DayCellViewModelTest88000
test-class MonthPickerViewModelTests66000
test-class MoodRecordViewModelTests44000

PlantingMindUITests

  • Device: iPhone 15 Pro, 17.0.1 (21A342)
  • SDK: Simulator - iOS 17.0, 17.0
TestTotalSuccessFailureSkippedExpected Failure
test-class PlantingMindUITests11000
test-class PlantingMindUITestsLaunchTests44000

Failure Failures

All tests passed 🎉


Code Coverage

Coverage Covered Executable
PlantingMind.app 43.33 % 604 1394
  MonthPickerView.swift 0.00 % 0 216
  DayCellViewModel.swift 100.00 % 33 33
  MoodRecordView.swift 0.00 % 0 518
  Mood.swift 76.47 % 13 17
  DayCellView.swift 88.31 % 68 77
  MoodRecord+CoreDataProperties.swift 0.00 % 0 3
  CalendarView.swift 100.00 % 23 23
  StringExtension.swift 0.00 % 0 6
  CalendarHeaderView.swift 90.34 % 131 145
  CalendarGridView.swift 100.00 % 40 40
  PlantingMindApp.swift 100.00 % 13 13
  MonthPickerViewModel.swift 96.00 % 72 75
  MoodRecordViewModel.swift 95.45 % 42 44
  DateExtension.swift 100.00 % 6 6
  CalendarViewModel.swift 98.45 % 127 129
  ContentView.swift 100.00 % 10 10
  CoreDataStack.swift 66.67 % 26 39
PlantingWidgetExtension.appex 15.18 % 39 257
  StringExtension.swift 0.00 % 0 6
  CoreDataStack.swift 66.67 % 26 39
  PlantingWidgetBundle.swift 0.00 % 0 3
  Mood.swift 76.47 % 13 17
  PlantingWidget.swift 0.00 % 0 189
  MoodRecord+CoreDataProperties.swift 0.00 % 0 3
Total 38.95 % 643 1651

Details

Test Details

PlantingMindTestsback

CalendarViewModelTests back

SuccessFailureSkippedExpected Failure⏱️
9 (100%)0 (0%)0 (0%)0 (0%)0.35s
Successtest-method test_2024년_1월_이전으로_이동하려는_경우_막기()
Successtest-method test_notification_받아서_fetch()
Successtest-method test_날짜_앞에_nil이_제대로_들어갔는지_확인()
Successtest-method test_다음_달로_이동()
Successtest-method test_백포전환시_날짜가_변경된_경우()
Successtest-method test_원하는_날짜의_mood_받기()
Successtest-method test_이전_달로_이동()
Successtest-method test_해당_월의_mood_list_가져오기()
Successtest-method test_현재_달의_다음_달로_이동하려는_경우_막기()

DayCellViewModelTest back

SuccessFailureSkippedExpected Failure⏱️
8 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method test_DayCellModel_record_nil()
Successtest-method test_DayCellModel_record_non_nil()
Successtest-method test_isFutureDate_보여줄_날짜가_오늘()
Successtest-method test_isFutureDate_보여줄_날짜가_오늘보다_과거()
Successtest-method test_isFutureDate_보여줄_날짜가_오늘보다_미래()
Successtest-method test_isToday_false_날짜색()
Successtest-method test_isToday_true_날짜색()
Successtest-method test_미래_날짜색은_회색()

MonthPickerViewModelTests back

SuccessFailureSkippedExpected Failure⏱️
6 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method test_pickedMonth()
Successtest-method test_selectedYear_Month_세팅()
Successtest-method test_시작년도는_시작월부터_12월까지_나와야함()
Successtest-method test_이전년도는_1월부터_12월까지_다_나와야함()
Successtest-method test_이전년도에서_올해로_연도를_돌릴때_아직_오지_않은_달인경우_현재달로_설정()
Successtest-method test_이전년도에서_올해로_연도를_돌리면_올해의_현재달까지_나와야함()

MoodRecordViewModelTests back

SuccessFailureSkippedExpected Failure⏱️
4 (100%)0 (0%)0 (0%)0 (0%)0.01s
Successtest-method test_notification_발송()
Successtest-method test_기분_데이터_넘겨주는_경우()
Successtest-method test_기분_데이터_없을_때_기본값_확인()
Successtest-method test_수정_후_저장_확인()

PlantingMindUITestsback

PlantingMindUITests back

SuccessFailureSkippedExpected Failure⏱️
1 (100%)0 (0%)0 (0%)0 (0%)29.10s
Successtest-method testExample()

Activities:
  • Start Test at 2024-03-26 13:06:17.619
  • Some attachments were deleted because they were configured to be removed on success.
  • Set Up
  • Open com.eunjoo.planting-mind.PlantingMind
    • Launch com.eunjoo.planting-mind.PlantingMind
      • Setting up automation session
      • Wait for com.eunjoo.planting-mind.PlantingMind to idle
  • Tear Down

PlantingMindUITestsLaunchTests back

SuccessFailureSkippedExpected Failure⏱️
4 (100%)0 (0%)0 (0%)0 (0%)51.24s
SuccessSuccess test-method testLaunch()

Configuration:
XCUIAppearanceMode: 1, XCUIApplicationLocalization: ko

Activities:
  • Start Test at 2024-03-26 13:06:46.809
  • Some attachments were deleted because they were configured to be removed on success.
  • Set Up
  • Open com.eunjoo.planting-mind.PlantingMind
    • Launch com.eunjoo.planting-mind.PlantingMind
      • Terminate com.eunjoo.planting-mind.PlantingMind:4858
      • Setting up automation session
      • Wait for com.eunjoo.planting-mind.PlantingMind to idle
  • Tear Down
Success test-method testLaunch()

Configuration:
XCUIAppearanceMode: 1, XCUIApplicationLocalization: en

Activities:
  • Start Test at 2024-03-26 13:07:38.474
  • Some attachments were deleted because they were configured to be removed on success.
  • Set Up
  • Open com.eunjoo.planting-mind.PlantingMind
    • Launch com.eunjoo.planting-mind.PlantingMind
      • Terminate com.eunjoo.planting-mind.PlantingMind:5503
      • Setting up automation session
      • Wait for com.eunjoo.planting-mind.PlantingMind to idle
  • Tear Down
Success test-method testLaunch()

Configuration:
XCUIAppearanceMode: 2, XCUIApplicationLocalization: ko

Activities:
  • Start Test at 2024-03-26 13:08:10.510
  • Some attachments were deleted because they were configured to be removed on success.
  • Set Up
  • Open com.eunjoo.planting-mind.PlantingMind
    • Launch com.eunjoo.planting-mind.PlantingMind
      • Terminate com.eunjoo.planting-mind.PlantingMind:6247
      • Setting up automation session
      • Wait for com.eunjoo.planting-mind.PlantingMind to idle
  • Tear Down
Success test-method testLaunch()

Configuration:
XCUIAppearanceMode: 2, XCUIApplicationLocalization: en

Activities:
  • Start Test at 2024-03-26 13:08:27.806
  • Some attachments were deleted because they were configured to be removed on success.
  • Set Up
  • Open com.eunjoo.planting-mind.PlantingMind
    • Launch com.eunjoo.planting-mind.PlantingMind
      • Terminate com.eunjoo.planting-mind.PlantingMind:6442
      • Setting up automation session
      • Wait for com.eunjoo.planting-mind.PlantingMind to idle
  • Tear Down