Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Run real E2E tests against Claude CLI in pytest and tmux modes
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | -9% | 0% |
| case-02 | ✗→✓ | ▲ Improved | -11% | 0% |
| case-07 | ✗→✓ | ▲ Improved | -14% | 0% |
| case-08 | ✗→✓ | ▲ Improved | -40% | 0% |
| case-11 | ✗→✓ | ▲ Improved | -15% | 0% |
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)bashuv run pytest tests/e2e/ --run-real-e2e --timeout=300 -v
bashuv run pytest tests/e2e/test_real_proxy.py::TestRealProxy::test_single_turn --run-real-e2e --timeout=180 -v -s
bashuv 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.
bashscripts/run_real_e2e_tmux.sh
Optional overrides:
bashPROMPT_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 |
Other measured skills in the registry, with their headline benchmark lift.