[CHNL-12942] Create a hook to reset badge counts #137
GitHub Actions / Xcode test results
failed
Nov 13, 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 |
---|---|---|---|---|---|
134 | 129 | 5 | 0 | 0 | 1.57s |
Test Summary
KlaviyoCoreTests
- Device: iPhone 15 Pro, 17.5 (21F79)
- 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 15 Pro, 17.5 (21F79)
- 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 | 26 | 2 | 0 | 0 |
StateManagementTests | 25 | 22 | 3 | 0 | 0 |
KlaviyoUITests
- Device: iPhone 15 Pro, 17.5 (21F79)
- SDK: Simulator - iOS 17.2, 17.2
Test | Total | ||||
---|---|---|---|---|---|
KlaviyoUITests | 2 | 2 | 0 | 0 | 0 |
Failures
KlaviyoSwiftTests/StateManagementEdgeCaseTests/testCompleteInitializationWithExistingIdentifiers()
File | |
Issue Type | Assertion Failure |
Message | Test crashed with signal abrt. |
KlaviyoSwiftTests/StateManagementEdgeCaseTests/testInitializeWhileInitializing()
File | |
Issue Type | Assertion Failure |
Message | Crash: xctest (5111) KlaviyoReducer.reduce(into:action:) |
KlaviyoSwiftTests/StateManagementTests/testEnqueueEventWhenInitilizingSendsEvent()
File | |
Issue Type | Assertion Failure |
Message | Crash: xctest (5354) KlaviyoReducer.reduce(into:action:) |
KlaviyoSwiftTests/StateManagementTests/testInitializeSubscribesToAppropriatePublishers()
File | |
Issue Type | Assertion Failure |
Message | Crash: xctest (5498) KlaviyoReducer.reduce(into:action:) |
KlaviyoSwiftTests/StateManagementTests/testInitialize()
File | |
Issue Type | Assertion Failure |
Message | Crash: xctest (5697) KlaviyoReducer.reduce(into:action:) |
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.00s |
testEncodingError()
| |
testInvalidStatusCode()
| |
testInvalidURL()
| |
testNetworkError()
| |
testSuccessfulResponseWithEvent()
| |
testSuccessfulResponseWithProfile()
| |
testSuccessfulResponseWithStoreToken()
|
NetworkSessionTests
⏱️ | ||||
---|---|---|---|---|
3 (100%) | 0 (0%) | 0 (0%) | 0 (0%) | 0.02s |
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.02s |
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
⏱️ | ||||
---|---|---|---|---|
26 (93%) | 2 (7%) | 0 (0%) | 0 (0%) | 0.00s |
testCompleteInitializationWhileAlreadyInitialized()
| |
testCompleteInitializationWithExistingIdentifiers()
| |
testEnqueueNonOpenedPushEventUninitializedDoesNotAddToPendingRequest()
| |
testInitializeAfterInitialized()
| |
testInitializeWhileInitializing()
| |
testNetworkStatusChangedUninitialized()
| |
testOpenedPushEventUninitializedAddsToPendingRequests()
| |
testSendRequestBeforeInitialization()
| |
testSetEmailMissingAnonymousIdStillSetsEmail()
| |
testSetEmailUninitializedDoesNotAddToPendingRequest()
| |
testSetEmailWithWhiteSpace()
| |
testSetEmptyEmail()
| |
testSetEmptyExternalId()
| |
testSetEmptyPhoneNumber()
| |
testSetExternalIdMissingAnonymousIdStillSetsExternalId()
| |
testSetExternalIdUninitializedDoesNotAddToPendingRequest()
| |
testSetExternalIdWithWhiteSpaces()
| |
testSetPhoneNumberMissingApiKeyStillSetsPhoneNumber()
| |
testSetPhoneNumberUninitializedDoesNotAddToPendingRequest()
| |
testSetPhoneNumberWithWhiteSpaces()
| |
testSetProfileUnitialized()
| |
testSetProfileWithEmptyStringIdentifiers()
| |
testSetPushTokenUninitializedDoesNotAddToPendingRequest()
| |
testSetPushTokenWithMissingAnonymousId()
| |
testStartUninitialized()
| |
testStopInitializing()
| |
testStopUninitialized()
| |
testTokenRequestMissingApiKey()
|
StateManagementTests
⏱️ | ||||
---|---|---|---|---|
22 (88%) | 3 (12%) | 0 (0%) | 0 (0%) | 0.00s |
testEmptyQueueDoesNotFlush()
| |
testEnqueueEvents()
| |
testEnqueueEventWhenInitilizingSendsEvent()
| |
testFlushQueueDuringExponentialBackoff()
| |
testFlushQueueExponentialBackoffGoesToSize()
| |
testFlushQueueWithMultipleRequests()
| |
testFlushUninitializedQueueDoesNotFlush()
| |
testFlushWithPendingProfile()
| |
testInitializeSubscribesToAppropriatePublishers()
| |
testInitialize()
| |
testNetworkConnectivityChanges()
| |
testQueueThatIsFlushingDoesNotFlush()
| |
testSendRequestWhenNotFlushing()
| |
testSendRequestWithNoRequestsInFlight()
| |
testSetEmail()
| |
testSetExternalId()
| |
testSetPhoneNumber()
| |
testSetProfileWithAllProfileIdentifiersAndProperties()
| |
testSetProfileWithExistingProperties()
| |
testSetPushEnablementChanged()
| |
testSetPushEnablementPushTokenIsNil()
| |
testSetPushTokenEnablementChanged()
| |
Loading