PR #177 #165
GitHub Actions / Xcode test results
succeeded
Apr 18, 2024 in 0s
Xcode test results
Testing workspace klaviyo-swift-sdk with scheme klaviyo-swift-sdk-Package
Summary
Total | Passed | Failed | Skipped | Expected Failure | ⏱️ Time |
---|---|---|---|---|---|
125 | 125 | 0 | 0 | 0 | 1.06s |
Test Summary
KlaviyoSwiftTests
- Device: iPhone 14, 17.2 (21C62)
- SDK: Simulator - iOS 17.2, 17.2
Test | Total | ||||
---|---|---|---|---|---|
APIRequestErrorHandlingTests | 15 | 15 | 0 | 0 | 0 |
AppLifeCycleEventsTests | 11 | 11 | 0 | 0 | 0 |
ArchivalSystemTest | 1 | 1 | 0 | 0 | 0 |
ArchivalUtilsTests | 8 | 8 | 0 | 0 | 0 |
EncodableTests | 7 | 7 | 0 | 0 | 0 |
FileUtilsTests | 2 | 2 | 0 | 0 | 0 |
KlaviyoAPITests | 7 | 7 | 0 | 0 | 0 |
KlaviyoSDKTests | 11 | 11 | 0 | 0 | 0 |
KlaviyoStateTests | 8 | 8 | 0 | 0 | 0 |
NetworkSessionTests | 3 | 3 | 0 | 0 | 0 |
StateChangePublisherTests | 3 | 3 | 0 | 0 | 0 |
StateManagementEdgeCaseTests | 27 | 27 | 0 | 0 | 0 |
StateManagementTests | 22 | 22 | 0 | 0 | 0 |
Failures
All tests passed 🎉
Code Coverage
Details
Test Details
KlaviyoSwiftTests
APIRequestErrorHandlingTests
⏱️ | ||||
---|---|---|---|---|
15 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.01s |
AppLifeCycleEventsTests
⏱️ | ||||
---|---|---|---|---|
11 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.01s |
ArchivalSystemTest
⏱️ | ||||
---|---|---|---|---|
1 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.00s |
testArchiveUnarchive()
|
ArchivalUtilsTests
⏱️ | ||||
---|---|---|---|---|
8 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.00s |
EncodableTests
⏱️ | ||||
---|---|---|---|---|
7 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.00s |
testEventPayloadWithMetadata()
| |
testEventPayloadWithoutMetadata()
| |
testKlaviyoRequest()
| |
testKlaviyoState()
| |
testProfilePayload()
| |
testTokenPayload()
| |
testUnregisterTokenPayload()
|
FileUtilsTests
⏱️ | ||||
---|---|---|---|---|
2 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.00s |
testFilePathForData()
| |
testRemoveItemWithError()
|
KlaviyoAPITests
⏱️ | ||||
---|---|---|---|---|
7 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.00s |
testEncodingError()
| |
testInvalidStatusCode()
| |
testInvalidURL()
| |
testNetworkError()
| |
testSuccessfulResponseWithEvent()
| |
testSuccessfulResponseWithProfile()
| |
testSuccessfulResponseWithStoreToken()
|
KlaviyoSDKTests
⏱️ | ||||
---|---|---|---|---|
11 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 1.01s |
KlaviyoStateTests
⏱️ | ||||
---|---|---|---|---|
8 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.00s |
NetworkSessionTests
⏱️ | ||||
---|---|---|---|---|
3 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.01s |
testCreateEmphemeralSesionHeaders()
| |
testDefaultUserAgent()
| |
testSessionDataTask()
|
StateChangePublisherTests
⏱️ | ||||
---|---|---|---|---|
3 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.00s |
testQuickStateUpdatesTriggerOnlyOneSaves()
| |
testStateChangeDuplicateAreRemoved()
| |
testStateChangePublisher()
|
StateManagementEdgeCaseTests
⏱️ | ||||
---|---|---|---|---|
27 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.00s |
StateManagementTests
⏱️ | ||||
---|---|---|---|---|
22 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.00s |
Loading