Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/applitools/ios-applitools-framework-swift-package
- Owner: applitools
- Created: 2024-01-14T07:04:16.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-08-05T15:05:00.000Z (5 months ago)
- Last Synced: 2024-08-05T17:35:02.074Z (5 months ago)
- Language: Swift
- Size: 2.93 KB
- Stars: 1
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.