Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/applitools/ios-applitools-framework-swift-package


https://github.com/applitools/ios-applitools-framework-swift-package

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# 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](https://applitools.com/tutorials/quickstart/native-mobile/xcui) 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.