e2e-testing

Test Qwen Code CLI headless execution, API traffic, and MCP server integration.

Updated May 5, 2026
One-click install
npx skills add https://github.com/hkjang/qwen-code --skill e2e-testing-hkjang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: e2e-testing
Source: https://github.com/hkjang/qwen-code/tree/main/.qwen/skills/e2e-testing
Command: npx skills add https://github.com/hkjang/qwen-code --skill e2e-testing-hkjang

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill unit provides comprehensive end-to-end testing capabilities for the Qwen Code CLI, enabling thorough verification of CLI behavior and integration points.

Core Features & Use Cases

  • Headless Mode: Execute the CLI non-interactively with JSON output for automated testing.
  • API Traffic Inspection: Inspect raw API request/response payloads for debugging model behavior.
  • Interactive Mode: Test TUI rendering and keyboard interactions using tmux.
  • MCP Server Testing: End-to-end testing of MCP tool integrations with the CLI.
  • Token Usage Stats: Summarize token usage across recent API logs to monitor prompt caching behavior.

Quick Start

Run end-to-end tests of the Qwen Code CLI by executing the following command in your terminal: ./scripts/e2e-test.sh

Frequently Asked Questions about e2e-testing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run end-to-end tests for Qwen Code CLI?

Run end-to-end tests for Qwen Code CLI by executing the `./scripts/e2e-test.sh` command in your terminal to verify CLI behavior and integration points.

Can I execute Qwen Code CLI non-interactively for automated testing?

Yes, you can execute the Qwen Code CLI non-interactively using Headless Mode, which outputs JSON data to facilitate automated testing of CLI functionality.

How can I inspect raw API traffic to debug Qwen Code model behavior?

You can inspect raw API traffic by reviewing API request and response payloads, which allows you to debug model behavior and verify API interactions within the Qwen Code framework.

Does Qwen Code CLI testing support MCP server integrations?

Yes, Qwen Code CLI testing supports MCP server integrations, allowing you to perform comprehensive end-to-end testing of MCP tool integrations directly with the CLI environment.

How do I test TUI rendering and keyboard interactions in Qwen Code CLI?

You test TUI rendering and keyboard interactions in Qwen Code CLI by using Interactive Mode, which utilizes tmux to simulate and verify terminal user interface behavior.

What do I need to know to use Qwen Code CLI end-to-end testing?

To use Qwen Code CLI end-to-end testing, you need knowledge of CLI usage and familiarity with the Qwen Code framework to effectively execute and interpret headless, interactive, and MCP server tests.