fleetest Documentation
fleetest is an E2E test tool for iOS / Android apps that you use by asking an AI assistant such as Claude Code in natural language.
Repository
Overview
Tutorial
- Basics of using fleetest
- Preparing devices
- Checking the app's server
- Creating tests
- Running tests
- Reading results and investigating failures
- Running smoke and regression separately
- Watching in VSCode
Testing your own app
- Preparing the app under test
- Preparing the servers your app depends on
- Testing an app that needs a login
- Creating and running tests
- Keeping tests up with app changes
Security
- Checking the sandbox and opening the holes you need
- Checking what a test leaves behind
- Network exposure and security
- Notes and limitations
Expanding your fleet
Response measurement
Operations
- Update
- Uninstall
- Running on CI
- Sharing the test project until a second person runs it
- Troubleshooting
- Maintenance for long-term use
Appendix
- Quality attributes (non-functional requirements)
- Glossary
- Migrating from another test framework: for Shirates users
Developer reference
The specification of scenarios (Swift DSL), the CLI and MCP. Use it when you want to read the scenarios the AI assistant wrote, or to write some yourself.
Projects and profiles
Creating test classes
- Creating a test class
- Select and assert
- How the text visibility check decides
- Test code structure
- Custom commands
- Test result files
Selector
Functions and properties
- Tap element
- Select element
- Install and launch app
- Navigation
- Swipe/Scroll screen
- Editing and keyboard operations
- Asserting existence
- Asserting attributes
- Asserting others
- Asserting any value
- Asserting anything
- Reading values
- Sharing values between scenarios
- Exclusive access
- Test data, files, and talking to servers
- Branch
- Repeating action
- Waiting
- Descriptor
- Screenshot
- Handling interruptions (unexpected dialogs and alerts)
Running
- Running scenarios (fleetest run)
- dry-run
- Self-healing
- Parallel execution
- Analyzing results (fleetest results, dashboard)
- Response measurement
- Test bases and scenario drafts (draft-from-testbase)
- Sandbox defaults (writable places, unreadable places, destinations)
Tools
- CLI reference (fleetest subcommands)
- VSCode extension
- MCP server
- Claude Code skills
- AI assistants other than Claude Code
- Agent guide
Writing scenarios
- Known caveats (read before writing a scenario)
- Writing robust scenarios
- UI component patterns and quirks
- Network access from scenarios
- Services the app depends on (compose.yaml)
- Where to put test data
- Helpful features for writing test code
- Adding your own features