Skip to main content
Spawn the decipher-qa CLI as a subprocess and parse its final result block. Below is a copy-pasteable reference implementation.
This is boilerplate — a thin wrapper around the CLI to get you started. Fork it, rename the functions, add retry logic, wire it into pytest fixtures, emit your own telemetry — whatever fits your pipeline. The CLI is the contract; the wrapper is just convenience.

The Runner

The CLI prints a final === RESULT === block with the run summary as JSON. The runner spawns the process, streams its output, and parses that block on exit. decipher_qa_runner.py

Example Script

Here’s a self-contained script that runs test 1522 against a local headful Chromium and logs the result. Swap in your own test_id and options:

Usage

You’ll get a streaming view of the run followed by the parsed result:
The process exits 0 on pass and 1 on fail, so it slots into any CI pipeline that already expects conventional exit codes.
Need help? Contact our support team.