Skip to content

Add Integration Test #12

Add Integration Test

Add Integration Test #12

GitHub Actions / Xcode test results failed Jan 2, 2025 in 0s

Xcode test results

Testing project Xendit with scheme Xendit-Package

Summary

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

Test Summary

XenditTests

  • Device: iPhone 15 Plus, 18.1 (22B81)
  • SDK: Simulator - iOS 17.5, 17.5
TestTotalSuccessFailureSkippedExpected Failure
test-class XenditIntegrationTestsV33431300

Failure Failures

XenditTests/XenditIntegrationTestsV3/testCreateAuthenticationWithSingleUseToken()

File/Users/runner/work/xendit-sdk-ios-src/xendit-sdk-ios-src/Tests/XenditTests/XenditIntegrationTestsV3.swift:367
Issue TypeAssertion Failure
MessageXCTAssertNil failed: "XenditError(API_VALIDATION_ERROR, There was an error with the format submitted to the server.)"

XenditTests/XenditIntegrationTestsV3/testCreateAuthenticationWithSingleUseTokenAndCVN()

File/Users/runner/work/xendit-sdk-ios-src/xendit-sdk-ios-src/Tests/XenditTests/XenditIntegrationTestsV3.swift:367
Issue TypeAssertion Failure
MessageXCTAssertNil failed: "XenditError(API_VALIDATION_ERROR, There was an error with the format submitted to the server.)"

XenditTests/XenditIntegrationTestsV3/testCreateAuthenticationWithSingleUseTokenAndUnsupportedCurrency()

File/Users/runner/work/xendit-sdk-ios-src/xendit-sdk-ios-src/Tests/XenditTests/XenditIntegrationTestsV3.swift:377
Issue TypeAssertion Failure
MessageXCTAssertEqual failed: ("Optional(false)") is not equal to ("Optional(true)")

Code Coverage

Coverage Covered Executable
Xendit.framework 43.19 % 1040 2408
  XenditBillingDetails.swift 45.83 % 11 24
  AuthenticationWebviewController.swift 0.00 % 0 101
  CardData.swift 0.00 % 0 38
  Fingerprint.swift 0.00 % 0 133
  XenditCustomer.swift 0.00 % 0 64
  XenditCardMetadata.swift 58.33 % 14 24
  CreditCard.swift 40.96 % 77 188
  XenditAuthenticationRequest.swift 100.00 % 6 6
  XenditAuthenticatedToken.swift 44.83 % 13 29
  XenditAuthentication.swift 34.78 % 16 46
  XenditJWT.swift 0.00 % 0 9
  XDTSentry.swift 48.39 % 45 93
  XenditJWTRequest.swift 0.00 % 0 17
  XenditError.swift 76.92 % 10 13
  XenditStoreCVNRequest.swift 100.00 % 3 3
  Extensions.swift 93.33 % 14 15
  XenditCCToken.swift 15.07 % 11 73
  XDTCards.swift 81.71 % 286 350
  Log.swift 66.37 % 75 113
  LogSanitizer.swift 93.48 % 43 46
  XenditTokenizationRequest.swift 83.33 % 65 78
  XenditRetokenizationRequest.swift 86.36 % 19 22
  XenditTokenCredentials.swift 0.00 % 0 13
  WebViewController.swift 0.00 % 0 110
  Xendit.swift 30.07 % 43 143
  Xendit3DSRecommendation.swift 61.54 % 8 13
  XenditAddress.swift 44.44 % 12 27
  XenditCardData.swift 100.00 % 9 9
  XDTApiClient.swift 41.41 % 246 594
  XenditCardHolderInformation.swift 100.00 % 14 14
XenditObjC.framework 8.72 % 19 218
  IDFAHelper.m 0.00 % 0 12
  ISHLogDNAService.m 9.22 % 19 206
Total 40.33 % 1059 2626

Testing project Xendit with scheme Xendit-Package

Summary

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

Test Summary

XenditTests

  • Device: iPhone 15 Plus, 18.1 (22B81)
  • SDK: Simulator - iOS 17.5, 17.5
TestTotalSuccessFailureSkippedExpected Failure
test-class XenditIntegrationTestsV33431300

Failure Failures

XenditTests/XenditIntegrationTestsV3/testCreateAuthenticationWithSingleUseToken()

File/Users/runner/work/xendit-sdk-ios-src/xendit-sdk-ios-src/Tests/XenditTests/XenditIntegrationTestsV3.swift:367
Issue TypeAssertion Failure
MessageXCTAssertNil failed: "XenditError(API_VALIDATION_ERROR, There was an error with the format submitted to the server.)"

XenditTests/XenditIntegrationTestsV3/testCreateAuthenticationWithSingleUseTokenAndCVN()

File/Users/runner/work/xendit-sdk-ios-src/xendit-sdk-ios-src/Tests/XenditTests/XenditIntegrationTestsV3.swift:367
Issue TypeAssertion Failure
MessageXCTAssertNil failed: "XenditError(API_VALIDATION_ERROR, There was an error with the format submitted to the server.)"

XenditTests/XenditIntegrationTestsV3/testCreateAuthenticationWithSingleUseTokenAndUnsupportedCurrency()

File/Users/runner/work/xendit-sdk-ios-src/xendit-sdk-ios-src/Tests/XenditTests/XenditIntegrationTestsV3.swift:377
Issue TypeAssertion Failure
MessageXCTAssertEqual failed: ("Optional(false)") is not equal to ("Optional(true)")

Code Coverage

Coverage Covered Executable
Xendit.framework 43.19 % 1040 2408
  XenditBillingDetails.swift 45.83 % 11 24
  AuthenticationWebviewController.swift 0.00 % 0 101
  CardData.swift 0.00 % 0 38
  Fingerprint.swift 0.00 % 0 133
  XenditCustomer.swift 0.00 % 0 64
  XenditCardMetadata.swift 58.33 % 14 24
  CreditCard.swift 40.96 % 77 188
  XenditAuthenticationRequest.swift 100.00 % 6 6
  XenditAuthenticatedToken.swift 44.83 % 13 29
  XenditAuthentication.swift 34.78 % 16 46
  XenditJWT.swift 0.00 % 0 9
  XDTSentry.swift 48.39 % 45 93
  XenditJWTRequest.swift 0.00 % 0 17
  XenditError.swift 76.92 % 10 13
  XenditStoreCVNRequest.swift 100.00 % 3 3
  Extensions.swift 93.33 % 14 15
  XenditCCToken.swift 15.07 % 11 73
  XDTCards.swift 81.71 % 286 350
  Log.swift 66.37 % 75 113
  LogSanitizer.swift 93.48 % 43 46
  XenditTokenizationRequest.swift 83.33 % 65 78
  XenditRetokenizationRequest.swift 86.36 % 19 22
  XenditTokenCredentials.swift 0.00 % 0 13
  WebViewController.swift 0.00 % 0 110
  Xendit.swift 30.07 % 43 143
  Xendit3DSRecommendation.swift 61.54 % 8 13
  XenditAddress.swift 44.44 % 12 27
  XenditCardData.swift 100.00 % 9 9
  XDTApiClient.swift 41.41 % 246 594
  XenditCardHolderInformation.swift 100.00 % 14 14
XenditObjC.framework 8.72 % 19 218
  IDFAHelper.m 0.00 % 0 12
  ISHLogDNAService.m 9.22 % 19 206
Total 40.33 % 1059 2626

Details

Test Details

XenditTestsback

XenditIntegrationTestsV3 back

SuccessFailureSkippedExpected Failure⏱️
31 (91%)3 (9%)0 (0%)0 (0%)1.11s
Successtest-method testCreateAuthenticationWithCompleteCardHolderData()
Successtest-method testCreateAuthenticationWithCurrency()
Successtest-method testCreateAuthenticationWithCVN()
Successtest-method testCreateAuthenticationWithInvalidCurrency()
Successtest-method testCreateAuthenticationWithMultipleUseToken()
Successtest-method testCreateAuthenticationWithOnlyEmail()
Successtest-method testCreateAuthenticationWithOnlyFirstName()
Successtest-method testCreateAuthenticationWithOnlyLastName()
Successtest-method testCreateAuthenticationWithOnlyPhoneNumber()
Failuretest-method testCreateAuthenticationWithSingleUseToken()back
Successtest-method testCreateAuthenticationWithSingleUseTokenAndCurrency()
Failuretest-method testCreateAuthenticationWithSingleUseTokenAndCVN()back
Successtest-method testCreateAuthenticationWithSingleUseTokenAndInvalidCurrency()
Failuretest-method testCreateAuthenticationWithSingleUseTokenAndUnsupportedCurrency()back
Successtest-method testCreateAuthenticationWithUnsupportedCurrency()
Successtest-method testCreateMultipleUseTokenWithCVN()
Successtest-method testCreateMultipleUseTokenWithMidLabel()
Successtest-method testCreateMultipleUseTokenWithoutCVN()
Successtest-method testCreateSingleUseTokenWithBillingDetails()
Successtest-method testCreateSingleUseTokenWithCompleteCardHolderData()
Successtest-method testCreateSingleUseTokenWithInvalidCardCVN()
Successtest-method testCreateSingleUseTokenWithInvalidCardExpiryMonth()
Successtest-method testCreateSingleUseTokenWithInvalidCardExpiryYear()
Successtest-method testCreateSingleUseTokenWithInvalidCardNumber()
Successtest-method testCreateSingleUseTokenWithInvalidCurrency()
Successtest-method testCreateSingleUseTokenWithMidLabel()
Successtest-method testCreateSingleUseTokenWithOnlyEmail()
Successtest-method testCreateSingleUseTokenWithOnlyFirstName()
Successtest-method testCreateSingleUseTokenWithOnlyLastName()
Successtest-method testCreateSingleUseTokenWithOnlyPhoneNumber()
Successtest-method testCreateSingleUseTokenWithout3DS()
Successtest-method testCreateSingleUseTokenWithSupportedCurrency()
Successtest-method testCreateSingleUseTokenWithUnsupportedCurrency()
Successtest-method testStoreCVNWithMultipleUseToken()

Test Details

XenditTestsback

XenditIntegrationTestsV3 back

SuccessFailureSkippedExpected Failure⏱️
31 (91%)3 (9%)0 (0%)0 (0%)1.14s
Successtest-method testCreateAuthenticationWithCompleteCardHolderData()
Successtest-method testCreateAuthenticationWithCurrency()
Successtest-method testCreateAuthenticationWithCVN()
Successtest-method testCreateAuthenticationWithInvalidCurrency()
Successtest-method testCreateAuthenticationWithMultipleUseToken()
Successtest-method testCreateAuthenticationWithOnlyEmail()
Successtest-method testCreateAuthenticationWithOnlyFirstName()
Successtest-method testCreateAuthenticationWithOnlyLastName()
Successtest-method testCreateAuthenticationWithOnlyPhoneNumber()
Failuretest-method testCreateAuthenticationWithSingleUseToken()back
Successtest-method testCreateAuthenticationWithSingleUseTokenAndCurrency()
Failuretest-method testCreateAuthenticationWithSingleUseTokenAndCVN()back
Successtest-method testCreateAuthenticationWithSingleUseTokenAndInvalidCurrency()
Failuretest-method testCreateAuthenticationWithSingleUseTokenAndUnsupportedCurrency()back
Successtest-method testCreateAuthenticationWithUnsupportedCurrency()
Successtest-method testCreateMultipleUseTokenWithCVN()
Successtest-method testCreateMultipleUseTokenWithMidLabel()
Successtest-method testCreateMultipleUseTokenWithoutCVN()
Successtest-method testCreateSingleUseTokenWithBillingDetails()
Successtest-method testCreateSingleUseTokenWithCompleteCardHolderData()
Successtest-method testCreateSingleUseTokenWithInvalidCardCVN()
Successtest-method testCreateSingleUseTokenWithInvalidCardExpiryMonth()
Successtest-method testCreateSingleUseTokenWithInvalidCardExpiryYear()
Successtest-method testCreateSingleUseTokenWithInvalidCardNumber()
Successtest-method testCreateSingleUseTokenWithInvalidCurrency()
Successtest-method testCreateSingleUseTokenWithMidLabel()
Successtest-method testCreateSingleUseTokenWithOnlyEmail()
Successtest-method testCreateSingleUseTokenWithOnlyFirstName()
Successtest-method testCreateSingleUseTokenWithOnlyLastName()
Successtest-method testCreateSingleUseTokenWithOnlyPhoneNumber()
Successtest-method testCreateSingleUseTokenWithout3DS()
Successtest-method testCreateSingleUseTokenWithSupportedCurrency()
Successtest-method testCreateSingleUseTokenWithUnsupportedCurrency()
Successtest-method testStoreCVNWithMultipleUseToken()

Annotations

Check failure on line 367 in Tests/XenditTests/XenditIntegrationTestsV3.swift

See this annotation in the file changed.

@github-actions github-actions / Xcode test results

Assertion Failure

XCTAssertNil failed: "XenditError(API_VALIDATION_ERROR, There was an error with the format submitted to the server.)"

Check failure on line 367 in Tests/XenditTests/XenditIntegrationTestsV3.swift

See this annotation in the file changed.

@github-actions github-actions / Xcode test results

Assertion Failure

XCTAssertNil failed: "XenditError(API_VALIDATION_ERROR, There was an error with the format submitted to the server.)"

Check failure on line 377 in Tests/XenditTests/XenditIntegrationTestsV3.swift

See this annotation in the file changed.

@github-actions github-actions / Xcode test results

Assertion Failure

XCTAssertEqual failed: ("Optional(false)") is not equal to ("Optional(true)")

Check failure on line 367 in Tests/XenditTests/XenditIntegrationTestsV3.swift

See this annotation in the file changed.

@github-actions github-actions / Xcode test results

Assertion Failure

XCTAssertNil failed: "XenditError(API_VALIDATION_ERROR, There was an error with the format submitted to the server.)"

Check failure on line 367 in Tests/XenditTests/XenditIntegrationTestsV3.swift

See this annotation in the file changed.

@github-actions github-actions / Xcode test results

Assertion Failure

XCTAssertNil failed: "XenditError(API_VALIDATION_ERROR, There was an error with the format submitted to the server.)"

Check failure on line 377 in Tests/XenditTests/XenditIntegrationTestsV3.swift

See this annotation in the file changed.

@github-actions github-actions / Xcode test results

Assertion Failure

XCTAssertEqual failed: ("Optional(false)") is not equal to ("Optional(true)")