Skip to content

applitools/ios-applitools-framework-swift-package

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

ios-applitools-framework-swift-package

Integrate the Applitools iOS framework into your iOS application to enable powerful visual testing with the Applitools Eyes SDK, such as the Eyes XCUI SDK or one of the supported Appium Applitools Eyes SDKs.

Add this package to your project using SPM

  1. In Xcode, select your project, then select the "PROJECT" target.
  2. Click the "Package Dependencies" tab.
  3. Click the "+" button to add a new package.
  4. In the "Search or Enter Package URL" field, enter the following URL: https://github.com/applitools/ios-applitools-framework-swift-package
  5. Click "Add Package".
  6. In the "Choose Package Products for..." window, in the "Add to Target" column, make sure to select an application target built for testing purposes only (i.e. not used for App Store release builds.)
  7. Select "Finish".

Verify the package is correctly installed

  1. Build and run your iOS application target built for testing purposes only.
  2. In the Console log, an entry about "Applitools_iOS ... loaded" should appear.

Use the Applitools iOS framework together with the Applitools SDK

Once added to your iOS application project, the Applitools iOS framework will be loaded automatically -- no additional code is required in your app code. In your UI test code, import the Applitools SDK, then invoke the setMobileCapabilities() method with your Applitools API key, before launching the app, from a test setup method.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages