Testing overview
In QA mode, a host connects to the app over loopback and gets every signal, stamped with the current test step. That turns a UI test from “the button was tapped and nothing threw” into checks on what the tap caused: which request went out and with what status, which screen appeared, whether the main thread hung, whether anything crashed, and how long the UI took to settle.
You can use it four ways:
- As scripted tests: YAML steps the SDK performs inside the app, each checked against what it caused, run by
quameleon-qa testwith a CI exit code and JUnit output. - From your own tests with
qassertions in any Node test runner, next to Detox, Maestro, Appium or plainadb/simctl. - From the command line with the
quameleon-qaCLI: record a session, open the replay, build a suite report, symbolicate stacks, export OTLP, or serve recordings to agents over MCP. - Through QualGent, whose runners record QA-mode sessions for every test run. See QualGent integration.

Setup in the app
Section titled “Setup in the app”The app needs the SDK in its QA build and nothing else: no keys, no endpoint. Follow the QA sections of the quickstarts (React Native, Android, iOS).
Register probes for state you want to assert directly. A probe is a read-only callback the host can call by name:
Quameleon.probe("cart.count", () => store.getState().cart.items.length);