Skip to content

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:

  1. As scripted tests: YAML steps the SDK performs inside the app, each checked against what it caused, run by quameleon-qa test with a CI exit code and JUnit output.
  2. From your own tests with q assertions in any Node test runner, next to Detox, Maestro, Appium or plain adb / simctl.
  3. From the command line with the quameleon-qa CLI: record a session, open the replay, build a suite report, symbolicate stacks, export OTLP, or serve recordings to agents over MCP.
  4. Through QualGent, whose runners record QA-mode sessions for every test run. See QualGent integration.

Suite report

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);