A sample application built solely to showcase axe DevTools Mobile implementation. It is non-functional and made inaccessibly by design.
Get started with a free trial today.
- Library documentation can be found at docs.deque.com.
- Learn more about Deque and axe DevTools Mobile here.
Prerequisites:
- Xcode 14 +
- Optional: If running locally on iPhone device, it'll need to have iOS 15+.
This project uses Swift Package Manager to pull in the frameworks from axe-devtools-ios.
- To manually test this app, use Deque's Mobile Analyzer.
-
Add your Deque API Key to
Login.swift
. -
Once you have a device or simulator ready to go, open
SampleUITests.swift
, and tap on the diamond to run this suite. The simulator will launch, and the tests will run.
Note: XCUITests are only supported with a real device from Sauce at this time. This project requires a device on iOS 15.0 or later.
To run a test with this project, or to setup your own project, follow our online guide to get started with XCUITesting on SauceLabs.
Assuming you have already downloaded the sample project to your computer:
- Add your Deque API Key to
Login.swift
. - Open a Terminal window, enter
cd
, then drag and drop theaxe-devtools-ios-sample-app
from Finder into the Terminal window. Hit return/enter. - In the same window, type
sh prepareForSauce.sh
. Hit return/enter.
This script will build the app, and begin executing automated tests in your Sauce Labs environment.
Reach out to us, we'd love to help!