CLI
Start an isolated app and database when a person or an MCP client needs an environment for exploratory testing. Keep its connection details separate from your regular workspace.
yarn test:integration:ephemeral:start executes yarn mercato test:ephemeral.
This command boots an isolated environment and keeps it running until you stop it with Ctrl+C.
For short integration-development loops, prefer yarn test:integration:ephemeral:interactive so you can run many tests without repeated bootstrap.
# Preferred script
yarn test:integration:ephemeral:start
# Direct CLI command (alias form)
yarn mercato test:ephemeral
# Direct CLI command (module/command form)
yarn mercato test ephemeral
| Option | Description |
|---|---|
--verbose | Shows detailed bootstrap/build logs. |
--screenshots | Enables screenshot capture for Playwright sessions. |
--no-screenshots | Disables screenshot capture for Playwright sessions. |
--no-reuse-env | Forces a brand-new ephemeral environment instead of attaching to an existing one. |
# Start ephemeral environment for manual QA
yarn test:integration:ephemeral:start
# Start with verbose setup logs
yarn mercato test:ephemeral --verbose
# Always start a fresh instance on an isolated port
yarn mercato test:ephemeral --no-reuse-env
When ready, the command prints:
http://127.0.0.1:<port>)[email protected] / secretCtrl+C to stop and clean upThe command also writes environment state to .ai/qa/ephemeral-env.json:
baseUrl and port for reuse by tools/skills5001 when available24.xdocker info must succeed)Previous: Scheduler CLI · Next: yarn test:integration:ephemeral