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 aren't enough and you need to verify behavior through the full pipeline (model API → tool validation → tool execution).
Setup
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. - Runtime-only checks (fastest):
npm run dev -- "<prompt>" <flags>— runs TS source via tsx, no build. Usebuild && bundle+node dist/cli.jsonly when the shipped artifact itself matters. (<qwen>below can benpm run dev --.)