Push on master #274
GitHub Actions / Xcode test results
succeeded
Sep 20, 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 |
---|---|---|---|---|---|
132 | 132 | 0 | 0 | 0 | 1.12s |
Test Summary
KlaviyoCoreTests
- Device: iPhone 14, 17.2 (21C62)
- SDK: Simulator - iOS 17.2, 17.2
Test | Total | ||||
---|---|---|---|---|---|
ArchivalSystemTest | 1 | 1 | 0 | 0 | 0 |
ArchivalUtilsTests | 8 | 8 | 0 | 0 | 0 |
EncodableTests | 5 | 5 | 0 | 0 | 0 |
FileUtilsTests | 2 | 2 | 0 | 0 | 0 |
KlaviyoAPITests | 7 | 7 | 0 | 0 | 0 |
NetworkSessionTests | 3 | 3 | 0 | 0 | 0 |
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 |
EncodableTests | 1 | 1 | 0 | 0 | 0 |
KlaviyoEventTests | 1 | 1 | 0 | 0 | 0 |
KlaviyoModelsTest | 3 | 3 | 0 | 0 | 0 |
KlaviyoSDKTests | 11 | 11 | 0 | 0 | 0 |
KlaviyoStateTests | 8 | 8 | 0 | 0 | 0 |
StateChangePublisherTests | 3 | 3 | 0 | 0 | 0 |
StateManagementEdgeCaseTests | 28 | 28 | 0 | 0 | 0 |
StateManagementTests | 25 | 25 | 0 | 0 | 0 |
Failures
All tests passed 🎉
Code Coverage
Details
Test Details
KlaviyoCoreTests
ArchivalSystemTest
⏱️ | ||||
---|---|---|---|---|
1 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.01s |
testArchiveUnarchive()
|
ArchivalUtilsTests
⏱️ | ||||
---|---|---|---|---|
8 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.00s |
EncodableTests
⏱️ | ||||
---|---|---|---|---|
5 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.00s |
testEventPayload()
| |
testKlaviyoRequest()
| |
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.01s |
testEncodingError()
| |
testInvalidStatusCode()
| |
testInvalidURL()
| |
testNetworkError()
| |
testSuccessfulResponseWithEvent()
| |
testSuccessfulResponseWithProfile()
| |
testSuccessfulResponseWithStoreToken()
|
NetworkSessionTests
⏱️ | ||||
---|---|---|---|---|
3 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.01s |
testCreateEmphemeralSesionHeaders()
| |
testDefaultUserAgent()
| |
testSessionDataTask()
|
KlaviyoSwiftTests
APIRequestErrorHandlingTests
⏱️ | ||||
---|---|---|---|---|
15 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.01s |
AppLifeCycleEventsTests
⏱️ | ||||
---|---|---|---|---|
11 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.00s |
EncodableTests
⏱️ | ||||
---|---|---|---|---|
1 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.03s |
testKlaviyoState()
|
KlaviyoEventTests
⏱️ | ||||
---|---|---|---|---|
1 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.00s |
testOpenedPushEvent()
|
KlaviyoModelsTest
⏱️ | ||||
---|---|---|---|---|
3 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.00s |
testEmptyStringIdsConvertToNil()
| |
testProfileModelConvertsToAPIModel()
| |
testProfileWithNoIdsModelConvertsToAPIModel()
|
KlaviyoSDKTests
⏱️ | ||||
---|---|---|---|---|
11 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 1.01s |
KlaviyoStateTests
⏱️ | ||||
---|---|---|---|---|
8 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.01s |
StateChangePublisherTests
⏱️ | ||||
---|---|---|---|---|
3 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.00s |
testQuickStateUpdatesTriggerOnlyOneSaves()
| |
testStateChangeDuplicateAreRemoved()
| |
testStateChangePublisher()
|
StateManagementEdgeCaseTests
⏱️ | ||||
---|---|---|---|---|
28 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.01s |
StateManagementTests
⏱️ | ||||
---|---|---|---|---|
25 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.01s |
Loading