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
Total | Passed | Failed | Skipped | Expected Failure | ⏱️ Time |
---|---|---|---|---|---|
10 | 10 | 0 | 0 | 0 | 0.11s |
Test Summary
CryptoWidgetKitAppTests
- Device: iPhone 15, 17.0.1 (21A342)
- SDK: Simulator - iOS 17.5, 17.5
Test | Total | ||||
---|---|---|---|---|---|
CryptoAPIServiceTests | 3 | 3 | 0 | 0 | 0 |
CryptoDataViewModelTests | 5 | 5 | 0 | 0 | 0 |
CryptoTrackingViewModelTests | 2 | 2 | 0 | 0 | 0 |
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
CryptoWidgetKitAppTests
CryptoAPIServiceTests
⏱️ | ||||
---|---|---|---|---|
3 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.00s |
test_fetchRetrieveFullList_failureErrorConnection()
| |
test_fetchRetrieveFullList_failureHttpResponse()
| |
test_fetchRetrieveFullList_success()
|
CryptoDataViewModelTests
⏱️ | ||||
---|---|---|---|---|
5 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.10s |
test_fetchData_failure()
| |
test_fetchInitialData_success()
| |
test_loadMoreData_success()
| |
test_refreshData_failure()
| |
test_refreshData_success()
|
CryptoTrackingViewModelTests
⏱️ | ||||
---|---|---|---|---|
2 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.00s |
test_initializationWithUserDefaultsData()
| |
test_toggleTrackingCrypto()
|
Loading