Skip to content

feat(Cripto List): Tracking favorites cryptos (#8) #30

feat(Cripto List): Tracking favorites cryptos (#8)

feat(Cripto List): Tracking favorites cryptos (#8) #30

GitHub Actions / Xcode test results succeeded Jun 8, 2024 in 0s

Xcode test results

Test CryptoWidgetKitApp

Summary

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

Test Summary

CryptoWidgetKitAppTests

  • Device: iPhone 15, 17.0.1 (21A342)
  • SDK: Simulator - iOS 17.5, 17.5
TestTotalSuccessFailureSkippedExpected Failure
test-class CryptoAPIServiceTests33000
test-class CryptoDataViewModelTests55000
test-class CryptoTrackingViewModelTests22000

Failure Failures

All tests passed 🎉


Code Coverage

Coverage Covered Executable
CryptoWidgetKitApp.app 30.66 % 126 411
  CryptoWidgetKitApp.swift 80.00 % 8 10
  AppDelegate.swift 0.00 % 0 4
  ProductionApp.swift 0.00 % 0 14
  CryptoAPIEndpoint.swift 100.00 % 12 12
  TestApp.swift 100.00 % 4 4
  View+.swift 0.00 % 0 14
  CryptoTrackingViewModel.swift 100.00 % 19 19
  CryptoAPIService.swift 66.67 % 10 15
  CryptoRow.swift 0.00 % 0 22
  URLRequest+.swift 100.00 % 5 5
  ContentView.swift 0.00 % 0 221
  CryptoDataViewModel.swift 100.00 % 68 68
  URLSessionProtocol.swift 0.00 % 0 3
Total 30.66 % 126 411

Details

Test Details

CryptoWidgetKitAppTestsback

CryptoAPIServiceTests back

SuccessFailureSkippedExpected Failure⏱️
3 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method test_fetchRetrieveFullList_failureErrorConnection()
Successtest-method test_fetchRetrieveFullList_failureHttpResponse()
Successtest-method test_fetchRetrieveFullList_success()

CryptoDataViewModelTests back

SuccessFailureSkippedExpected Failure⏱️
5 (100%)0 (0%)0 (0%)0 (0%)0.10s
Successtest-method test_fetchData_failure()
Successtest-method test_fetchInitialData_success()
Successtest-method test_loadMoreData_success()
Successtest-method test_refreshData_failure()
Successtest-method test_refreshData_success()

CryptoTrackingViewModelTests back

SuccessFailureSkippedExpected Failure⏱️
2 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method test_initializationWithUserDefaultsData()
Successtest-method test_toggleTrackingCrypto()