e2e-testing
Installation
SKILL.md
E2E Testing Guide
How to run the Qwen Code CLI end-to-end, from building the bundle to inspecting raw API traffic. Use when unit tests are not enough and you need to verify behavior through the full pipeline (model API → tool validation → tool execution).
Which binary to use
- Reproducing bugs: use the globally installed
qwencommand — this matches what the user ran when they filed the issue. - Verifying fixes: build first (
npm run build && npm run bundle), then runnode dist/cli.js— this tests your local changes.
Headless Mode
Run the CLI non-interactively with JSON output (<qwen> = qwen or node dist/cli.js per above):