用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/liaohch3/claude-tap --skill real-e2e-test命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | real-e2e-test |
| description | Run real E2E tests against Claude CLI in pytest and tmux modes |
| tags | testing, e2e, integration, tmux |
Run real end-to-end tests that start claude-tap from local source, connect to the
real Claude CLI, and verify trace output.
claude CLI installed and authenticateduv sync --extra devtmux installed for interactive mode (brew install tmux)uv run pytest tests/e2e/ --run-real-e2e --timeout=300 -v
uv run pytest tests/e2e/test_real_proxy.py::TestRealProxy::test_single_turn --run-real-e2e --timeout=180 -v -s
uv run pytest tests/e2e/ --run-real-e2e --timeout=300 -v -s --tb=long
Use this when you need to validate non--p interactive behavior in Claude Code TUI.
scripts/run_real_e2e_tmux.sh
Optional overrides:
PROMPT_ONE="Use the shell tool to run command ls in the current directory, then reply with any 5 filenames only." \
PROMPT_TWO="Thank you." \
SUBMIT_KEY="Enter" \
PERMISSION_MODE="bypassPermissions" \
scripts/run_real_e2e_tmux.sh
Important tmux interaction notes:
Enter for Claude Code TUI in tmux (confirmed working).PROMPT_ONE should intentionally trigger tool use.grep -F instead of rg in shell assertions (rg may be unavailable)..jsonl contains both prompts (PROMPT_ONE, PROMPT_TWO)/v1/messages"type": "tool_use"trace_*.html)--run-real-e2e is required.| Test | Timeout | What It Tests |
|---|---|---|
test_single_turn | 180s | Basic prompt/response trace capture |
test_multi_turn | 300s | Conversation memory with -c flag |
test_tool_use | 180s | Tool use generates multiple trace records |
test_html_viewer_generated | 180s | HTML viewer generated with embedded trace data |
test_api_key_redaction | 180s | API keys redacted from trace output |
test_streaming_sse_capture | 180s | SSE events captured in streaming mode |
test_trace_summary | 180s | CLI stdout includes trace summary and API call count |