Quality attributes (non-functional requirements)
This page is not about fleetest's features. It is about the qualities that affect how it feels to use and how far you can trust it: AI-friendliness, stability, security and privacy. Each item links to a page with the details.
AI-friendliness
- Just give the AI assistant instructions in plain language ("create tests for the login screen", "run the tests", "find out why this failed" and so on). You do not need to read or write test code yourself (Basics of using fleetest).
- When you ask for a test, the AI operates the app through the MCP server, reads the screen, gathers what it needs and then writes the test code (MCP server).
Automated synchronization and performance optimization
- Synchronizing with the screen is automatic. Instead of "tap, then wait 3 seconds just in case", fleetest moves on as soon as it sees that the screen has stopped moving. You do not need to write or tune waiting times in your tests, and no time is wasted waiting.
- On iOS, the in-app bridge, which runs fast inside the app, is used alongside to boost speed (Simulators, and physical devices running a development-signed app). The inapp-boost mode switches between the XCUITest bridge and the in-app bridge automatically to optimize performance (What is fleetest?).
Parallel test runs on a fleet
- Tests can run in parallel on a group of Simulators, Emulators and physical devices (a fleet). This makes the most of the processor's multiple cores (Parallel execution).
- Add a Mac and you can use it as a runner machine over the network. Devices on runner machines can also be added to the fleet (Remote runs).
Fault tolerance
- Devices in trouble are recovered automatically. If the connection to a device drops, fleetest tries to restore it.
- Tests that fail because of a device problem, such as a device freezing partway through a test, are rerun on another device.
Reproducibility and cost efficiency
- Test code is meant to be created with AI, but test execution is not left to AI. The test code follows the same steps every time, so results do not waver and there is no AI charge per run.
Security
There are mechanisms that limit the risk if harmful code gets mixed into test code.
- Tests always run inside a sandbox. fleetest limits which files a test can read and write, whom it can talk to and what it can do (Checking the sandbox and opening the holes you need).
- Tests can reach only the destinations you allow.
A test can talk to the internet only at the destinations listed in the
allowedDomainssetting (Sandbox defaults). The bridge of a physical iOS device over Wi-Fi is reached through a fleetest relay that connects only to that device's bridge.
Privacy
- While tests run, data never leaves your own fleet (Macs and devices). When you create tests, the screen contents are sent to the AI assistant you use (with a local LLM, creation stays local too).
- Some features use FM (Foundation Models), Apple's local LLM, but Apple's cloud (Private Cloud Compute) is not used.
- Frontier models such as Claude or GPT are recommended for creating tests, but an MCP-capable local LLM can be used when security requirements are strict (not verified by fleetest).
Customizability
Test code is plain Swift, so wherever the built-in commands fall short, you can add what you need yourself. There is no need to modify fleetest itself (Adding your own features).
- Turn frequent steps into your own commands. Wrap repeated steps such as logging in or emptying the cart in a single function and call it from any test (Custom commands).
- Insert any processing before and after tests. For example, you can add setup and cleanup for a database or a stub server.
Scalability
- Add Macs or physical devices to the fleet to increase the devices doing the work. Even as your tests grow, you can keep the test time from growing with them.
Easy to operate
- Fits into CI. Results come back as an exit code and a JUnit file, which CI tools understand as is (Running on CI).
- Results can be examined later. Run results are recorded, so you can later find which tests often fail and where (Analyzing results (fleetest results, dashboard)).
- You can watch tests as they run. The VSCode extension shows each device's screen and execution log live (VSCode extension).
- Disk cleanup is automatic. Recordings and logs are deleted oldest first as they approach their size limit (Maintenance for long-term use).
Easy to adopt
- No changes to your app. No test components to embed and no test-only build. The app you use in everyday development works as is (for React Native apps, use a Release-configuration build; see Preparing your app).
- Free. Running tests costs nothing per run (AI assistant fees are separate).
- What you need: an Apple silicon Mac. Tested with iOS and Android apps built with the major UI frameworks (SwiftUI / UIKit, View/XML, Jetpack Compose, Compose Multiplatform, Flutter, React Native) (Environment).