Skip to content

Review comments

Review comments #960

GitHub Actions / Test results: Unit (tvOS 15.2, Xcode 13.2.1) succeeded Dec 1, 2023 in 0s

Xcode test results

Testing workspace snowplow-ios-tracker with scheme SnowplowTracker

Summary

TotalSuccess PassedFailure FailedSkipped SkippedExpected Failure Expected Failure⏱️ Time
27227200022.75s

Test Summary

Tests

  • Device: Apple TV, 15.2 (19K50)
  • SDK: Simulator - tvOS 15.2, 15.2
TestTotalSuccessFailureSkippedExpected Failure
test-class LegacyTestEmitter1111000
test-class LegacyTestSubject55000
test-class TestConfigurationBuilder11000
test-class TestDataPersistence88000
test-class TestEcommerceController22000
test-class TestEcommerceEntities33000
test-class TestEcommerceEvents1111000
test-class TestEmitterConfiguration33000
test-class TestEvents2020000
test-class TestGlobalContexts77000
test-class TestLifecycleState11000
test-class TestLogger33000
test-class TestMediaAdTracking22000
test-class TestMediaController2727000
test-class TestMediaEventAndEntitySerialization66000
test-class TestMediaSessionTrackingStats1010000
test-class TestMemoryEventStore33000
test-class TestMultipleInstances88000
test-class TestNetworkConnection1111000
test-class TestPayload1818000
test-class TestPlatformContext44000
test-class TestPlugins88000
test-class TestRemoteConfiguration55000
test-class TestRequest55000
test-class TestRequestResult77000
test-class TestSchemaRuleset44000
test-class TestScreenState33000
test-class TestScreenViewModifier11000
test-class TestSelfDescribingJson88000
test-class TestServiceProvider11000
test-class TestSession1515000
test-class TestStateManager77000
test-class TestSubject55000
test-class TestTracker33000
test-class TestTrackerConfiguration1616000
test-class TestTrackerController44000
test-class TestTrackerEvent11000
test-class TestUtils1515000

Failure Failures

All tests passed 🎉

Details

Test Details

Testsback

LegacyTestEmitter back

SuccessFailureSkippedExpected Failure⏱️
11 (100%)0 (0%)0 (0%)0 (0%)1.00s
Successtest-method testDoesNotRetryFailedRequestsIfDisabled()
Successtest-method testEmitEventsPostAsGroup()
Successtest-method testEmitOversizeEventsPostAsGroup()
Successtest-method testEmitSingleGetEventWithNoSuccess()
Successtest-method testEmitSingleGetEventWithSuccess()
Successtest-method testEmitSinglePostEventWithSuccess()
Successtest-method testEmitterBuilderAndOptions()
Successtest-method testEmitTwoGetEventsWithNoSuccess()
Successtest-method testEmitTwoGetEventsWithSuccess()
Successtest-method testFollowCustomRetryRules()
Successtest-method testRemovesEventsFromQueueOnNoRetryStatus()

LegacyTestSubject back

SuccessFailureSkippedExpected Failure⏱️
5 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method testGeoLocationGetWithoutNeededKeys()
Successtest-method testGeoLocationWithSubjectConfiguration()
Successtest-method testSubjectInit()
Successtest-method testSubjectInitWithOptions()
Successtest-method testSubjectSetterFunctions()

TestConfigurationBuilder back

SuccessFailureSkippedExpected Failure⏱️
1 (100%)0 (0%)0 (0%)0 (0%)0.03s
Successtest-method testCreateTrackerUsingBuilder()

TestDataPersistence back

SuccessFailureSkippedExpected Failure⏱️
8 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method testDataIsCorrectlyStored()
Successtest-method testDataIsCorrectlyStoredWhenNotStoredOnFile()
Successtest-method testDataIsStoredWithoutInterference()
Successtest-method testDataIsStoredWithoutInterferenceWhenNotStoredOnFile()
Successtest-method testDataPersistenceForNamespaceWithDifferentNamespaces()
Successtest-method testDataPersistenceForNamespaceWithSameNamespaces()
Successtest-method testRemoveForNamespace()
Successtest-method testStringFromNamespace()

TestEcommerceController back

SuccessFailureSkippedExpected Failure⏱️
2 (100%)0 (0%)0 (0%)0 (0%)0.61s
Successtest-method testAddScreenEntity()
Successtest-method testAddUserEntity()

TestEcommerceEntities back

SuccessFailureSkippedExpected Failure⏱️
3 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method testBuildsCartEntity()
Successtest-method testBuildsProductEntity()
Successtest-method testBuildsPromotionEntity()

TestEcommerceEvents back

SuccessFailureSkippedExpected Failure⏱️
11 (100%)0 (0%)0 (0%)0 (0%)0.21s
Successtest-method testAddToCart()
Successtest-method testCheckoutStep()
Successtest-method testProductListClick()
Successtest-method testProductListView()
Successtest-method testProductView()
Successtest-method testPromotionClick()
Successtest-method testPromotionView()
Successtest-method testRefund()
Successtest-method testRemoveFromCart()
Successtest-method testTransaction()
Successtest-method testTransactionError()

TestEmitterConfiguration back

SuccessFailureSkippedExpected Failure⏱️
3 (100%)0 (0%)0 (0%)0 (0%)2.01s
Successtest-method testActivatesServerAnonymisationInEmitter()
Successtest-method testPauseEmitter()
Successtest-method testRespectsEmitRange()

TestEvents back

SuccessFailureSkippedExpected Failure⏱️
20 (100%)0 (0%)0 (0%)0 (0%)1.02s
Successtest-method testApplicationInstall()
Successtest-method testConsentGranted()
Successtest-method testConsentWithdrawn()
Successtest-method testDeepLinkContextAndAtomicPropertiesAddedToScreenView()
Successtest-method testEcommerce()
Successtest-method testEcommerceItem()
Successtest-method testError()
Successtest-method testMessageNotification()
Successtest-method testMessageNotificationWithUserInfo()
Successtest-method testPageView()
Successtest-method testPushNotification()
Successtest-method testPushNotificationContent()
Successtest-method testScreenView()
Successtest-method testSelfDescribing()
Successtest-method testSelfDescribingWithEncodableData()
Successtest-method testStructured()
Successtest-method testTiming()
Successtest-method testTrackerError()
Successtest-method testTrueTimestamp()
Successtest-method testWorkaroundForCampaignAttributionEnrichment()

TestGlobalContexts back

SuccessFailureSkippedExpected Failure⏱️
7 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method testAddRemove()
Successtest-method testBlockGenerator()
Successtest-method testContextGenerator()
Successtest-method testGlobalContexts()
Successtest-method testStaticGenerator()
Successtest-method testStaticGeneratortWithFilter()
Successtest-method testStaticGeneratorWithRuleset()

TestLifecycleState back

SuccessFailureSkippedExpected Failure⏱️
1 (100%)0 (0%)0 (0%)0 (0%)0.01s
Successtest-method testLifecycleStateMachine()

TestLogger back

SuccessFailureSkippedExpected Failure⏱️
3 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method testDiagnosticTracking()
Successtest-method testDiagnosticTrackingWithError()
Successtest-method testDiagnosticTrackingWithException()

TestMediaAdTracking back

SuccessFailureSkippedExpected Failure⏱️
2 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method testUpdatesPodPositionOfAds()
Successtest-method testUpdatesStartTimeOfAdBreak()

TestMediaController back

SuccessFailureSkippedExpected Failure⏱️
27 (100%)0 (0%)0 (0%)0 (0%)0.50s
Successtest-method testAddsEntitiesFromConfigToEvents()
Successtest-method testAddsEntitiesTrackedWithEvent()
Successtest-method testAddsMediaSessionContextEntityWithGivenID()
Successtest-method testAddsPercentProgressPropertyToAdEvents()
Successtest-method testCalculatesSessionStats()
Successtest-method testDoesntSendProgressEventMultipleTimes()
Successtest-method testDoesntSendProgressEventsIfPaused()
Successtest-method testDoesntTrackEventsExcludedFromCaptureEvents()
Successtest-method testDoesntTrackSeekStartMultipleTimes()
Successtest-method testSetsPausedAndEndedToTrueWhenEndIsTracked()
Successtest-method testSetsPausedToFalseWhenPlayEventIsTracked()
Successtest-method testSetsPausedToTrueWhenPauseIsTracked()
Successtest-method testSetsPropertiesOfErrorEvent()
Successtest-method testSetsQualityPropertiesInQualityChangeEvent()
Successtest-method testShouldNotStopSendingPingEventsWhenPlaying()
Successtest-method testShouldSendPingEventsRegardlessOfOtherEvents()
Successtest-method testShouldSendProgressEventsWhenBoundariesReached()
Successtest-method testShouldStopSendingPingEventsWhenPaused()
Successtest-method testStartsSendingPingEventsAfterSessionStarts()
Successtest-method testTrackingAdFirstQuartileSetsPercentProgress()
Successtest-method testTrackingAdMidpointSetsPercentProgress()
Successtest-method testTrackingAdThirdQuartileSetsPercentProgress()
Successtest-method testTrackingFullscreenChangeEventUpdatesFullscreenInMediaPlayer()
Successtest-method testTrackingPictureInPictureChangeEventUpdatesPictureInPictureInMediaPlayer()
Successtest-method testTrackingPlaybackRateChangeEventUpdatesThePlaybackRate()
Successtest-method testTrackingVolumeChangeEventUpdatesTheVolume()
Successtest-method testTracksCustomEvent()

TestMediaEventAndEntitySerialization back

SuccessFailureSkippedExpected Failure⏱️
6 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method testBuildsAdBreakEntity()
Successtest-method testBuildsAdEntity()
Successtest-method testBuildsEntityForMediaPlayer()
Successtest-method testBuildsEntityWithDefaultValuesForEmptyMediaPlayer()
Successtest-method testBuildsMediaSessionEntity()
Successtest-method testSchemaForMediaEventTypes()

TestMediaSessionTrackingStats back

SuccessFailureSkippedExpected Failure⏱️
10 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method testCalculatesAveragePlaybackRate()
Successtest-method testCalculatesBufferingTime()
Successtest-method testCalculatesPlayedDuration()
Successtest-method testCalculatesPlayOnMute()
Successtest-method testCalculatesStatsForLinearAds()
Successtest-method testCalculatesStatsForNonLinearAds()
Successtest-method testConsidersChangesInPingEvents()
Successtest-method testConsidersPauses()
Successtest-method testCountsRewatchedContentOnceInContentWatched()
Successtest-method testEndsBufferingWhenPlaybackTimeMoves()

TestMemoryEventStore back

SuccessFailureSkippedExpected Failure⏱️
3 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method testInit()
Successtest-method testInsertManyPayloads()
Successtest-method testInsertPayload()

TestMultipleInstances back

SuccessFailureSkippedExpected Failure⏱️
8 (100%)0 (0%)0 (0%)0 (0%)0.01s
Successtest-method testDefaultTracker()
Successtest-method testMultipleInstances()
Successtest-method testRecreateTrackerWhichWasRemovedWithSameNamespace()
Successtest-method testRemoveAllTrackers()
Successtest-method testRemoveDefaultTracker()
Successtest-method testRemoveTracker()
Successtest-method testSingleInstanceIsReconfigurable()
Success