real-e2e-test

Solid

Run real E2E tests against Claude CLI in pytest and tmux modes

Testing & QA 1,021 stars 109 forks Updated today MIT

Install

View on GitHub

Quality Score: 96/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Real E2E Test Skill Run real end-to-end tests that start `claude-tap` from local source, connect to the real Claude CLI, and verify trace output. ## Prerequisites - `claude` CLI installed and authenticated - Python dev dependencies installed: `uv sync --extra dev` - `tmux` installed for interactive mode (`brew install tmux`) ## Mode 1: Pytest Real E2E (7 test cases) ### Run all real E2E tests ```bash uv run pytest tests/e2e/ --run-real-e2e --timeout=300 -v ``` ### Run a single test ```bash uv run pytest tests/e2e/test_real_proxy.py::TestRealProxy::test_single_turn --run-real-e2e --timeout=180 -v -s ``` ### Run with debug output ```bash uv run pytest tests/e2e/ --run-real-e2e --timeout=300 -v -s --tb=long ``` ## Mode 2: tmux Interactive Real E2E Use this when you need to validate non-`-p` interactive behavior in Claude Code TUI. ```bash scripts/run_real_e2e_tmux.sh ``` Optional overrides: ```bash 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: - Submit key is `Enter` for Claude Code TUI in tmux (confirmed working). - `PROMPT_ONE` should intentionally trigger tool use. - For portability, use `grep -F` instead of `rg` in shell assertions (`rg` may be unavailable). ## Verification Checklist (for both modes) - Latest trace `.jsonl` contains both p...

Details

Author
liaohch3
Repository
liaohch3/claude-tap
Created
3 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category