Directories
¶
| Path | Synopsis |
|---|---|
|
bench
|
|
|
web
command
Command web serves Buddy Bench (web) on 127.0.0.1:7360, and a second origin on localhost:7361 for cross-origin iframe tests.
|
Command web serves Buddy Bench (web) on 127.0.0.1:7360, and a second origin on localhost:7361 for cross-origin iframe tests. |
|
cmd
|
|
|
tb
command
tb is Test Buddy: a fast, event-driven mobile UI test runner that runs Maestro-compatible YAML flows, drives several devices at once, and is built for AI agents to use from a shell.
|
tb is Test Buddy: a fast, event-driven mobile UI test runner that runs Maestro-compatible YAML flows, drives several devices at once, and is built for AI agents to use from a shell. |
|
internal
|
|
|
a11y
Package a11y checks app source code for UI that tb cannot detect or tap.
|
Package a11y checks app source code for UI that tb cannot detect or tap. |
|
connect
Package connect opens a driver for a device, whatever its platform.
|
Package connect opens a driver for a device, whatever its platform. |
|
daemon
Package daemon is the long-lived `tb` background process.
|
Package daemon is the long-lived `tb` background process. |
|
device
Package device finds the Android devices and iOS simulators this machine can drive.
|
Package device finds the Android devices and iOS simulators this machine can drive. |
|
devlock
Package devlock gives one tb process at a time a device: an Android device or emulator, or an iOS simulator.
|
Package devlock gives one tb process at a time a device: an Android device or emulator, or an iOS simulator. |
|
driver
Package driver defines how the engine talks to one device.
|
Package driver defines how the engine talks to one device. |
|
driver/android
Package android drives an Android device or emulator through the Test Buddy agent.
|
Package android drives an Android device or emulator through the Test Buddy agent. |
|
driver/ios
Package ios drives a booted iOS simulator through the Test Buddy XCUITest runner (agents/ios), which serves docs/protocol.md on 127.0.0.1:<port>.
|
Package ios drives a booted iOS simulator through the Test Buddy XCUITest runner (agents/ios), which serves docs/protocol.md on 127.0.0.1:<port>. |
|
driver/web
Package web drives a Chrome tab through the Chrome DevTools Protocol, as a Test Buddy device.
|
Package web drives a Chrome tab through the Chrome DevTools Protocol, as a Test Buddy device. |
|
engine
Package engine runs flows on a device, around device events.
|
Package engine runs flows on a device, around device events. |
|
flow
Package flow parses flow files (and Test Buddy's multi-device extension) into commands.
|
Package flow parses flow files (and Test Buddy's multi-device extension) into commands. |
|
js
Package js runs the flow format's JavaScript: ${...} expressions, runScript files and evalScript, with these semantics:
|
Package js runs the flow format's JavaScript: ${...} expressions, runScript files and evalScript, with these semantics: |
|
legacy
Package legacy keeps Maestro flows working under tb.
|
Package legacy keeps Maestro flows working under tb. |
|
look
Package look turns a screen into a short listing an AI agent can read cheaply: one line per element a person can see or act on, each with a stable @ref.
|
Package look turns a screen into a short listing an AI agent can read cheaply: one line per element a person can see or act on, each with a stable @ref. |
|
match
Package match finds the element a selector names on a screen, with the flow format's exact semantics: full-match, case-insensitive Java-style regexes over text/hint/accessibility text/error; deepest matches; relative filters intersected in hierarchy order; index by position or clickable-first.
|
Package match finds the element a selector names on a screen, with the flow format's exact semantics: full-match, case-insensitive Java-style regexes over text/hint/accessibility text/error; deepest matches; relative filters intersected in hierarchy order; index by position or clickable-first. |
|
orchestrate
Package orchestrate runs flows across devices: a work queue over a device pool for suites, and multi-device flows where each device role runs its own commands.
|
Package orchestrate runs flows across devices: a work queue over a device pool for suites, and multi-device flows where each device role runs its own commands. |
|
report
Package report writes test results: JUnit XML and HTML.
|
Package report writes test results: JUnit XML and HTML. |
|
session
Package session is what the daemon serves to agents: persistent device connections, named devices (alice, bob), compact screen listings with stable refs, command runs that answer with what changed, event-driven waits and watches, and recording passed commands into a flow.
|
Package session is what the daemon serves to agents: persistent device connections, named devices (alice, bob), compact screen listings with stable refs, command runs that answer with what changed, event-driven waits and watches, and recording passed commands into a flow. |
|
ui
Package ui is the platform-neutral screen model: a tree of nodes read from a device.
|
Package ui is the platform-neutral screen model: a tree of nodes read from a device. |
|
wire
Package wire is the protocol between the host and the on-device agents.
|
Package wire is the protocol between the host and the on-device agents. |
|
workspace
Package workspace finds the flows to run from the paths given to `tb test`, following Maestro's workspace rules (config.yaml flows globs, include/exclude tags, executionOrder).
|
Package workspace finds the flows to run from the paths given to `tb test`, following Maestro's workspace rules (config.yaml flows globs, include/exclude tags, executionOrder). |
Click to show internal directories.
Click to hide internal directories.