CHNL-14775: Add badge incrementing logic to extension + README #764
GitHub Actions / Xcode test results
succeeded
Dec 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 |
---|---|---|---|---|---|
138 | 138 | 0 | 0 | 0 | 4.11s |
Test Summary
KlaviyoCoreTests
- Device: iPhone 16 Pro, 18.1 (22B81)
- SDK: Simulator - iOS 18.0, 18.0
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 16 Pro, 18.1 (22B81)
- SDK: Simulator - iOS 18.0, 18.0
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 | 30 | 30 | 0 | 0 | 0 |
StateManagementTests | 27 | 27 | 0 | 0 | 0 |
KlaviyoUITests
- Device: iPhone 16 Pro, 18.1 (22B81)
- SDK: Simulator - iOS 18.0, 18.0
Test | Total | ||||
---|---|---|---|---|---|
KlaviyoUITests | 2 | 2 | 0 | 0 | 0 |
Failures
All tests passed 🎉
Code Coverage
Details
Test Details
KlaviyoCoreTests
ArchivalSystemTest
⏱️ | ||||
---|---|---|---|---|
1 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.02s |
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.00s |
AppLifeCycleEventsTests
⏱️ | ||||
---|---|---|---|---|
11 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.00s |
EncodableTests
⏱️ | ||||
---|---|---|---|---|
1 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.01s |
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%) | 1.47s |
StateChangePublisherTests
⏱️ | ||||
---|---|---|---|---|
3 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.01s |
testQuickStateUpdatesTriggerOnlyOneSaves()
| |
testStateChangeDuplicateAreRemoved()
| |
testStateChangePublisher()
|
StateManagementEdgeCaseTests
⏱️ | ||||
---|---|---|---|---|
30 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.00s |
StateManagementTests
⏱️ | ||||
---|---|---|---|---|
27 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.01s |
Loading