YumemiWeather クラスの見通しを良くするために、外部公開する API の機能とそれ以外とを区別して定義するようにしました。 #3
GitHub Actions / Xcode test results
succeeded
May 1, 2024 in 0s
Xcode test results
Testing workspace ios-training with scheme YumemiWeather
Summary
Total | Passed | Failed | Skipped | Expected Failure | ⏱️ Time |
---|---|---|---|---|---|
10 | 10 | 0 | 0 | 0 | 2.01s |
Test Summary
YumemiWeatherTests
- Device: iPhone 14, 17.5 (21F5058d)
- SDK: Simulator - iOS 17.0, 17.0
Test | Total | ||||
---|---|---|---|---|---|
YumemiWeatherListTests | 4 | 4 | 0 | 0 | 0 |
YumemiWeatherTests | 6 | 6 | 0 | 0 | 0 |
Failures
All tests passed 🎉
Code Coverage
Coverage | Covered | Executable | ||
---|---|---|---|---|
YumemiWeather | 71.43 % | 135 | 189 | |
YumemiWeather.swift | 96.19 % | 101 | 105 | |
YumemiDisaster.swift | 0.00 % | 0 | 4 | |
YumemiWeatherList.swift | 36.99 % | 27 | 73 | |
SeedRandomNumberGenerator.swift | 100.00 % | 7 | 7 | |
YumemiWeatherTests | 80.63 % | 383 | 475 | |
YumemiWeatherTests.swift | 85.53 % | 130 | 152 | |
YumemiDisaster.swift | 0.00 % | 0 | 4 | |
YumemiWeatherList.swift | 36.99 % | 27 | 73 | |
SeedRandomNumberGenerator.swift | 100.00 % | 7 | 7 | |
YumemiWeatherListTests.swift | 88.06 % | 118 | 134 | |
YumemiWeather.swift | 96.19 % | 101 | 105 | |
Total | 78.01 % | 518 | 664 |
Details
Test Details
YumemiWeatherTests
YumemiWeatherListTests
⏱️ | ||||
---|---|---|---|---|
4 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.00s |
test_fetchWeatherList_jsonString()
| |
test_fetchWeatherList_jsonString_none()
| |
test_fetchWeatherList_jsonString_one()
| |
test_fetchWeatherList_jsonString_two()
|
YumemiWeatherTests
⏱️ | ||||
---|---|---|---|---|
6 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 2.01s |
test_fetchWeather()
| |
test_fetchWeather_at()
| |
test_fetchWeather_jsonString()
| |
test_fetchWeather_jsonString_async()
| |
test_fetchWeather_jsonString_callback()
| |
test_fetchWeather_jsonString_sync()
|
Loading