Fleet concepts

in Japanese(日本語)

In fleetest, the set of devices (virtual devices and physical devices) that run your tests is called a fleet. You can grow your fleet by adding devices on your Mac and other Macs (runner machines).

When you ask for tests on your Mac (machine name local), scenarios, profiles and the app are sent over SSH to the runner machines M1Max and M2Ultra, and reports, recordings and logs are collected back to your Mac. The machine field of each device in the run profile decides which device on which machine runs the tests, and scenarios are shared out and the machines run at the same time, each free device taking the next scenario

The pieces

Name Description
Your Mac The Mac you operate. You ask for tests from an AI assistant, VSCode or the CLI, and read the results here. Its machine name is local
Runner machine Another Mac that runs tests for you. It does not need to be on the same LAN, as long as your Mac can log in to it over SSH
Machine name A name you give a runner machine on your Mac (for example M1Max). Profiles use this name, not a host name or IP address
Device Where the tests run: Simulators and Emulators (virtual devices) and physical devices (a real iPhone or Android). Every device belongs to one machine
Run profile The setting that decides which devices on which machines run the tests. Each device has its machine name in machine

Machine names

To point at a runner machine, you use a name you give it on your Mac, not its host name or IP address. This name is called the machine name.

Register machine names with fleetest remote machines add or in the Device Monitor's Settings tab (see Step 2 of Adding a Mac).

To rename a machine, remove and then add it in the registry, and rewrite the devices[].machine of every run profile and the host of every fleet definition that uses the name. Past result JSON keeps the host name, so it is not affected.

The run profile decides where tests run

The devices listed in a run profile's devices are where the run goes. Each device names its own machine in machine, so choosing a run profile also chooses which Macs run the tests.

// profiles/runs/ios-m1max.json
{ "app": "myapp",
  "devices": [
    { "platform": "ios", "machine": "M1Max", "name": "iPhone 17 Pro", "osVersion": "iOS 27.0", "model": "iPhone 17 Pro" }
  ] }

To run the same scenarios on every machine, create a fleet definition, which lists which machine runs which run profile within the fleet (TestProjects/<project>/profiles/fleets/<name>.json) and run fleetest run --fleet <name> (--split splits the scenarios across the machines instead of running all of them everywhere; see "Run it" in Remote runs). Running a fleet definition is available from the CLI only (not from the extension or MCP), and it is experimental. To run several projects or profiles in one run instead, see --target and a repeated --profile in Running scenarios.

What happens automatically

The only connection is SSH (key authentication) from your Mac to the runner machines. Your Mac never needs to accept incoming connections.

Overview

Your Mac                                Runner machine
fleetest run --runner M1Max …             ~/fleetest-runner/               ← dedicated base directory
  ├ version check (fleetest, Xcode)  ssh ├── fleetest/          ← clone of fleetest itself (fixed name, shared)
  ├ send (scenarios/config) ───────────> └── users/<issuerId>/work/     ← your work area (per user)
  ├ display output                             ├── TestProjects/<project>/
  └ collect artifacts <──────────────────      └── .build/

Remote runs only use ~/fleetest-runner/ on the runner. If the runner has its own copy of fleetest elsewhere, it is never touched.

What it can do

Capability Supported
Send a run to another Mac (from the CLI or the VSCode extension) ✅
Progress display, cancellation, timeout ✅
Bring reports, JUnit, recordings and execution logs back to your Mac ✅
Provision a runner from your Mac in one command (remote setup); remove it the same way (remote teardown) ✅
Check or clean up several runners at once (remote status / remote clean) ✅
Run a single fleetest command on a runner (remote exec) ✅
Run on several runners at the same time (a fleet, run --fleet) ✅
Split one set of scenarios across several runners (run --fleet <name> --split) ✅
Run several projects/profiles in one run, each free machine taking the next one (run --target <project>:<profile> repeated, or --profile repeated; CLI only) ✅
Include remote results in fleetest results (flaky detection etc.) ✅ (collected by default)
See remote devices' state and video in the Device Monitor ✅

Running a fleet (run --fleet) is available from the CLI only (not from the extension or MCP), and it is experimental.

How to grow it

What you want What to add How
Run more devices at once so the whole suite finishes sooner A Mac Adding a Mac
Share one large Mac across a team A Mac Set it up in Adding a Mac; how to use it is in "Sharing one runner between several people" in Remote runs
Check on real hardware Physical devices Adding physical devices
Connect physical devices to another Mac and run them there A Mac and physical devices Add the Mac first, then connect the devices to it

How many Simulators and Emulators one Mac can run at once depends on its memory and CPU. When adding devices to one Mac starts to slow things down, it is time to add a Mac.

Good to know