Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The accuracy and speed of Enterprise and/or Prime scans can be enhanced by using Xcode’s your mobile team's existing Xcode Unit Tests (XCTest) or Xcode UI Tests (XCUITest) for dynamic analysis of an iOS application.

The dynamic scanner can be run along with the application's test suite in order to ensure that the application's code and screens covered by the test suite are scanned for security and privacy issues. This allows Data Theorem to leverage your mobile team's deep knowledge of the application in order to run the security scans on the most important application flows.

In order to leverage this feature, complete the following steps to activate Xcode UI Tests for Data Theorem’s Enterprise or Prime scans. either the application's Xcode Unit Tests or Xcode UI Tests should be compiled and sent to the Data Theorem. The following steps describe this process in more details.

Step-by-step guide: Unit Tests

  1. In Xcode, activate your unit-testing scheme, and set the build target to 'Generic iOS Device'.
  2. Click Product->Build For->Testing. Alternatively, run xcodebuild build-for-testing
  3. Open the 'Products' folder in the Xcode project navigator
  4. Right-click `<app name>.app` in the 'Products' folder, and click 'Show in Finder'
  5. Right-click`<app name>.app` in Finder. Click 'Show Package Contents'
  6. Navigate to the 'PlugIns' subfolder
  7. Copy the file titled <app name>Tests.xctest and send it to support@datatheorem.com

Step-by-step guide: UI Tests

  1. In Xcode, activate your UI testing scheme and then set the build target to 'Generic iOS Device'.
  2. Select Product -> Build For -> Testing.
    1. Alternatively, run ‘xcodebuild build-for-testing’ on the command line
  3. Open the 'Products' folder in the Xcode project navigator.
  4. Right-click <app name>.app, and select 'Show in Finder'
  5. Next to your app in Finder, there will be an app called ‘<app name>UITests-Runner.app.’
    1. Right-click, and click 'Show Package Contents'
  6. Navigate to the 'PlugIns' subfolder
  7. Copy the file titled <app name>UITests.xctest and send it to support@datatheorem.com


Info

Filter by label (Content by label)
showLabelsfalse
max5
spacescom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@135a7
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel = "kb-how-to-article" and type = "page" and space = "PKB"
labelskb-how-to-article

...