Skip to content

pages build and deployment #13

pages build and deployment

pages build and deployment #13

GitHub Actions / Test Results succeeded Apr 10, 2024 in 0s

Xcode test results

Testing workspace embrace-apple-sdk with scheme EmbraceIO-Package

Summary

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

Test Summary

EmbraceCaptureServiceTests

  • Device: iPhone 15 Pro Max, 17.2 (21C62)
  • SDK: Simulator - iOS 17.2, 17.2
TestTotalSuccessFailureSkippedExpected Failure
test-class CaptureServiceTests99000

EmbraceCommonTests

  • Device: iPhone 15 Pro Max, 17.2 (21C62)
  • SDK: Simulator - iOS 17.2, 17.2
TestTotalSuccessFailureSkippedExpected Failure
test-class ConsoleLogTests66000
test-class LogIdentifierTests55000
test-class LogSeverityTests44000
test-class LogTypeDeclarationTests44000
test-class LogTypeTests1717000
test-class ProcessIdentifierTests1111000
test-class SessionIdentifierTests66000
test-class SpanTypeTests2222000
test-class ThreadSafeTests77000

EmbraceConfigTests

  • Device: iPhone 15 Pro Max, 17.2 (21C62)
  • SDK: Simulator - iOS 17.2, 17.2
TestTotalSuccessFailureSkippedExpected Failure
test-class EmbraceConfigTests99000
test-class RemoteConfigFetcherTests55000
test-class RemoteConfigPayloadTests22000

EmbraceCoreTests

  • Device: iPhone 15 Pro Max, 17.2 (21C62)
  • SDK: Simulator - iOS 17.2, 17.2
TestTotalSuccessFailureSkippedExpected Failure
test-class AppInfoCaptureServiceTests22000
test-class CGPointToStringTests22000
test-class CaptureServiceFactoryTests11000
test-class ConcreteResourceExporterTests55000
test-class CrashReportPayloadTests33000
test-class DataTaskWithURLAndCompletionSwizzlerTests55000
test-class DataTaskWithURLRequestAndCompletionSwizzlerTests55000
test-class DataTaskWithURLRequestSwizzlerTests33000
test-class DataTaskWithURLSwizzlerTests22000
test-class DefaultLogBatcherTests66000
test-class DefaultURLSessionSwizzlerProviderTests11000
test-class DefaultURLSessionTaskHandlerTests1717000
test-class DeviceIdManagerTests22000
test-class DeviceInfoCaptureServiceTests22000
test-class DownloadTaskWithURLRequestSwizzlerTests33000
test-class DownloadTaskWithURLWithCompletionSwizzlerTests55000
test-class EmbraceCoreTests88000
test-class EmbraceEndpointsTests11000
test-class EmbraceLogAttributesBuilderTests1010000
test-class EmbraceLoggerSharedStateTests33000
test-class EmbraceMetaUserAgentTests11000
test-class EmbraceSetupCaptureServicesTests22000
test-class EmbraceSpanProcessor_StorageTests11000
test-class EncodableJSONTests11000
test-class KeychainAccessTests22000
test-class LengthOfBodyValidatorTests33000
test-class LengthOfNameValidatorTests44000
test-class LogControllerTests1818000
test-class LogDataValidationTests22000
test-class LogPayloadBuilderTests22000
test-class LogPayloadTests11000
test-class LogsBatchTests77000
test-class LowMemoryWarningCaptureServiceTests33000
test-class LowPowerModeCollectorTests88000
test-class ManualSessionLifecycleTests44000
test-class MetadataHandlerTests44000
test-class MetadataPayloadTests11000
test-class PayloadUtilTests22000
test-class ProcessMetadataTests22000
test-class ResourceCaptureServiceTests11000
test-class ResourcePayloadTests33000
test-class ResourceStorageExporterTests11000
test-class SessionControllerTests2323000
test-class SessionHeartbeatTests33000
test-class SessionPayloadBuilderTests22000
test-class SessionPayloadTests55000
test-class SessionTaskResumeSwizzlerTests22000
test-class SpanDataValidationTests22000
test-class SpanPayloadTests33000
test-class SpansPayloadBuilderTests77000
test-class StorageEmbraceLogExporterTests99000
test-class StorageSpanExporterTests22000
test-class TapCaptureServiceTests88000
test-class URLSessionCaptureServiceTests55000
test-class URLSessionDelegateProxyForwardingTests33000
test-class URLSessionDelegateProxyTests1717000
test-class URLSessionExtensionTests22000
test-class URLSessionInitWithDelegateSwizzlerTests33000
test-class URLSessionTaskExtensionTests22000
test-class UnsentDataHandlerTests99000
test-class UploadTaskWithRequestFromDataAndCompletionSwizzlerTests55000
test-class UploadTaskWithRequestFromDataSwizzlerTests33000
test-class UploadTaskWithRequestFromFileSwizzlerTests33000
test-class UploadTaskWithRequestFromFileWithCompletionSwizzlerTests55000
test-class UploadTaskWithStreamedRequestSwizzlerTests33000
test-class UserInfoPayloadTests66000
test-class ViewCaptureServiceTests99000
test-class WhitespaceSpanNameValidatorTests11000
test-class iOSSessionLifecycleTests2424000

EmbraceCrashTests

  • Device: iPhone 15 Pro Max, 17.2 (21C62)
  • SDK: Simulator - iOS 17.2, 17.2
TestTotalSuccessFailureSkippedExpected Failure
test-class EmbraceCrashReporterTests44000

EmbraceIOTests

  • Device: iPhone 15 Pro Max, 17.2 (21C62)
  • SDK: Simulator - iOS 17.2, 17.2
TestTotalSuccessFailureSkippedExpected Failure
test-class CaptureServiceFactoryTests11000

EmbraceOTelTests

  • Device: iPhone 15 Pro Max, 17.2 (21C62)
  • SDK: Simulator - iOS 17.2, 17.2
TestTotalSuccessFailureSkippedExpected Failure
test-class BatchLimitsTests22000
test-class EmbraceLogRecordBuilderTests1010000
test-class EmbraceLogRecordProcessorArrayExtensionTests11000
test-class EmbraceLogSharedStateTests11000
test-class EmbraceLoggerBuilderTests11000
test-class EmbraceLoggerProviderTests55000
test-class EmbraceLoggerTests33000
test-class EmbraceOTelTests99000
test-class EmbraceResourceProviderTests33000
test-class GenericLogExporterTests11000
test-class SeverityToLogSeverityTests66000
test-class SingleLogRecordProcessorTests66000
test-class SingleSpanProcessorTests44000

EmbraceObjCUtilsTests

  • Device: iPhone 15 Pro Max, 17.2 (21C62)
  • SDK: Simulator - iOS 17.2, 17.2
TestTotalSuccessFailureSkippedExpected Failure
test-class EMBDeviceTests11000

EmbraceStorageTests

  • Device: iPhone 15 Pro Max, 17.2 (21C62)
  • SDK: Simulator - iOS 17.2, 17.2
TestTotalSuccessFailureSkippedExpected Failure
test-class EmbraceStorageLoggingTests66000
test-class EmbraceStorageOptionsTests22000
test-class EmbraceStorageTests1010000
test-class LogRecordTests11000
test-class MetadataRecordAttributeValueTests1616000
test-class MetadataRecordTests1818000
test-class SessionRecordTests66000
test-class SpanRecordTests1010000

EmbraceUploadTests

  • Device: iPhone 15 Pro Max, 17.2 (21C62)
  • SDK: Simulator - iOS 17.2, 17.2
TestTotalSuccessFailureSkippedExpected Failure
test-class EmbraceUploadCacheOptionsTests22000
test-class EmbraceUploadCacheTests1616000
test-class EmbraceUploadOperationTests66000
test-class EmbraceUploadTests1010000

Failure Failures

All tests passed 🎉


Code Coverage

Coverage Covered Executable
EmbraceCaptureServiceTests 88.50 % 508 574
  CaptureServiceTests.swift 100.00 % 180 180
  EmbraceHTTPMock.swift 86.73 % 98 113
  URLTestProxiedResponse.swift 100.00 % 11 11
  Dictionary+Extension.swift 100.00 % 1 1
  TemporaryFilepathProvider.swift 62.50 % 5 8
  TimeInterval+Test.swift 75.00 % 9 12
  XCTestCase+Extension.swift 70.59 % 12 17
  EmbraceStorage+Extension.swift 100.00 % 10 10
  URLTestProxy.swift 92.31 % 24 26
  InMemoryLogRecordExporter.swift 45.00 % 9 20
  XCTestCase+WaitHelpers.swift 94.59 % 35 37
  String+Extension.swift 100.00 % 3 3
  

Details

Test Details

EmbraceCaptureServiceTestsback

CaptureServiceTests back

SuccessFailureSkippedExpected Failure⏱️
9 (100%)0 (0%)0 (0%)0 (0%)0.01s
Successtest-method test_active()
Successtest-method test_addEvent()
Successtest-method test_addEvents()
Successtest-method test_endSpan()
Successtest-method test_initialState()
Successtest-method test_installed()
Successtest-method test_internalCalls()
Successtest-method test_paused()
Successtest-method test_startSpan()

EmbraceCommonTestsback

ConsoleLogTests back

SuccessFailureSkippedExpected Failure⏱️
6 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method test_debug()
Successtest-method test_error()
Successtest-method test_info()
Successtest-method test_none()
Successtest-method test_trace()
Successtest-method test_warning()

LogIdentifierTests back

SuccessFailureSkippedExpected Failure⏱️
5 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method test_encode_encodesValueAsUUID()
Successtest-method test_encodeAndDecode_returnsSameValue()
Successtest-method test_init_withUUID()
Successtest-method test_random_returnsNewValue()
Successtest-method test_toString_removesHyphens()

LogSeverityTests back

SuccessFailureSkippedExpected Failure⏱️
4 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method test_description_isText()
Successtest-method test_ensureIdentifiersAreCorrectAndConsistentWithOTel()
Successtest-method test_ensureTextValuesAreCorrectAndConsistentWithOTel()
Successtest-method test_number_isRawValue()

LogTypeDeclarationTests back

SuccessFailureSkippedExpected Failure⏱️
4 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method test_logTypeDefault_isPrimarySystemAndSecondaryLog()
Successtest-method test_logTypeDefault_isSysLogString()
Successtest-method test_logTypeSystem_isPrimarySystemSecondaryNil()
Successtest-method test_logTypeSystem_isSysString()

LogTypeTests back

SuccessFailureSkippedExpected Failure⏱️
17 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method test_decode_withInvalidPrimary_throwsError()
Successtest-method test_decode_withNestedSecondary_decodesFromString()
Successtest-method test_decode_withoutSecondary_decodesFromString()
Successtest-method test_decode_withSecondary_decodesFromString()
Successtest-method test_encode_withNestedSecondary_encodesAsString()
Successtest-method test_encode_withoutSecondary_encodesAsString()
Successtest-method test_encode_withSecondary_encodesAsString()
Successtest-method test_init_setsProperties()
Successtest-method test_init_system_setsProperties()
Successtest-method test_init_without_secondary_setsProperties()
Successtest-method test_init_withRawValue_withInvalidPrimary_returnsNil()
Successtest-method test_init_withRawValue_withNestedSecondary_setsProperties()
Successtest-method test_init_withRawValue_withoutSecondary_setsProperties()
Successtest-method test_init_withRawValue_withSecondary_setsProperties()
Successtest-method test_rawValue_withoutSecondary_returnsPrimary()
Successtest-method test_rawValue_withSecondary_returnsPrimaryAndNestedSecondary_delimitedByDot()
Successtest-method test_rawValue_withSecondary_returnsPrimaryAndSecondary_delimitedByDot()

ProcessIdentifierTests back

SuccessFailureSkippedExpected Failure⏱️
11 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method test_decode_withEmptyString_throwsError()
Successtest-method test_decode_withInvalidString_throwsError()
Successtest-method test_decode_withValidString_returnsCorrectValue()
Successtest-method test_encode_encodesValueInHex()
Successtest-method test_encodeAndDecode_returnsSameValue()
Successtest-method test_init_hex_withEmptyString_returnsNil()
Successtest-method test_init_hex_withInvalidString_returnsNil()
Successtest-method test_init_hex_withLongString_returnsNonNil()
Successtest-method test_init_hex_withShortString_returnsNonNil()
Successtest-method test_init_value()
Successtest-method test_random_returnsNewValue()

SessionIdentifierTests back

SuccessFailureSkippedExpected Failure⏱️
6 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method test_encode_encodesValueAsUUID()
Successtest-method test_encodeAndDecode_returnsSameValue()
Successtest-method test_init_withString()
Successtest-method test_init_withUUID()
Successtest-method test_init_withWithInvalidString_isNil()
Successtest-method test_random_returnsNewValue()

SpanTypeTests back

SuccessFailureSkippedExpected Failure⏱️
22 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method test_decode_withInvalidPrimary_throwsError()
Successtest-method test_decode_withNestedSecondary_decodesFromString()
Successtest-method test_decode_withoutSecondary_decodesFromString()
Successtest-method test_decode_withSecondary_decodesFromString()
Successtest-method test_description_withoutSecondary_returnsPrimary()
Successtest-method test_description_withSecondary_returnsPrimaryAndNestedSecondary_delimitedByDot()
Successtest-method test_description_withSecondary_returnsPrimaryAndSecondary_delimitedByDot()
Successtest-method test_encode_withNestedSecondary_encodesAsString()
Successtest-method test_encode_withoutSecondary_encodesAsString()
Successtest-method test_encode_withSecondary_encodesAsString()
Successtest-method test_init_performance_setsProperties()
Successtest-method test_init_setsProperties()
Successtest-method test_init_system_setsProperties()
Successtest-method test_init_ux_setsProperties()
Successtest-method test_init_without_secondary_setsProperties()
Successtest-method test_init_withRawValue_withInvalidPrimary_returnsNil()
Successtest-method test_init_withRawValue_withNestedSecondary_setsProperties()
Successtest-method test_init_withRawValue_withoutSecondary_setsProperties()
Successtest-method test_init_withRawValue_withSecondary_setsProperties()
Successtest-method test_rawValue_withoutSecondary_returnsPrimary()
Successtest-method test_rawValue_withSecondary_returnsPrimaryAndNestedSecondary_delimitedByDot()
Successtest-method test_rawValue_withSecondary_returnsPrimaryAndSecondary_delimitedByDot()

ThreadSafeTests back

SuccessFailureSkippedExpected Failure⏱️
7 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method test_concurrentAccess()
Successtest-method test_initialState()
Successtest-method test_modify_shouldSafelyModifyInBlock()
Successtest-method test_multipleSet_shouldModifyValue()
Successtest-method test_parallelExecutionAndConcurrentAccess()
Successtest-method test_set_shouldModifyValue()
Successtest-method test_simultaneousReadWrite_shouldntCrash()

EmbraceConfigTestsback

EmbraceConfigTests back

SuccessFailureSkippedExpected Failure⏱️
9 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method test_forcedUpdateNotIgnored()
Successtest-method test_frequentUpdatesIgnored()
Successtest-method test_frequentUpdatesNotIgnored()
Successtest-method test_hexValue()
Successtest-method test_invalidDeviceId()
Successtest-method test_isBackgroundSessionEnabled()
Successtest-method test_isEnabled()
Successtest-method test_isSDKEnabled()
Successtest-method test_networkSpansForwardingEnabled()

RemoteConfigFetcherTests back

SuccessFailureSkippedExpected Failure⏱️
5 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method test_ETag()
Successtest-method test_fetchFailure()
Successtest-method test_fetchSuccess_wrongResponseCode()
Successtest-method test_fetchSuccess()
Successtest-method test_requestMetadata()

RemoteConfigPayloadTests back

SuccessFailureSkippedExpected Failure⏱️
2 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method test_defaults()
Successtest-method test_values()

EmbraceCoreTestsback

AppInfoCaptureServiceTests back

SuccessFailureSkippedExpected Failure⏱️
2 (100%)0 (0%)0 (0%)0 (0%)0.06s
Successtest-method test_notStarted()
Successtest-method test_started()

CGPointToStringTests back

SuccessFailureSkippedExpected Failure⏱️
2 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method test_toString_ReturnsXAndYPointsSeparatedByComma()
Successtest-method test_toString_TruncatesEachPoint()

CaptureServiceFactoryTests back

SuccessFailureSkippedExpected Failure⏱️
1 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method test_requiredCaptureServices_returnsCorrectCaptureServiceTypes()

ConcreteResourceExporterTests back

SuccessFailureSkippedExpected Failure⏱️
5 (100%)0 (0%)0 (0%)0 (0%)0.05s
Successtest-method test_create_setsInternalExporterAsResourceStorageExporter()
Successtest-method test_getResources_willAlwaysGetResourcesFromInternalExporter()
Successtest-method testHavingBlockedKeys_getResources_shouldRemoveBlockedKeys()
Successtest-method testHavingEmbResources_getResources_shouldRemovePrefixOnlyOnThoseWhoHaveEmbPrefix()
Successtest-method testHavingResourcesAndBlockedKeys_getResource_shouldFilterFirst()

CrashReportPayloadTests back

SuccessFailureSkippedExpected Failure⏱️
3 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method test_crashKeys()
Successtest-method test_highLevelKeys()
Successtest-method test_properties()

DataTaskWithURLAndCompletionSwizzlerTests back

SuccessFailureSkippedExpected Failure⏱️
5 (100%)0 (0%)0 (0%)0 (0%)0.02s
Successtest-method test_afterInstall_taskShouldHaveEmbraceHeaders()
Successtest-method test_withoutInstall_taskWontBeCreatedInHandler()
Success