real-e2e-test
FeaturedRun real E2E tests against Claude CLI in pytest and tmux modes
Testing & QA 3,113 stars
267 forks Updated yesterday MIT
Install
Quality Score: 96/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
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
- 6 months ago
- Last Updated
- yesterday
- Language
- Python
- License
- MIT
Integrates with
Similar Skills
Semantically similar based on skill content — not just same category
Testing & QA Featured
e2e-test
Run claude-tap end-to-end tests with pytest
3,113 Updated yesterday
liaohch3 Testing & QA Listed
e2e
Orchestrates e2e testing: BDD scenarios, Playwright autotests. Triggers: e2e tests, BDD scenarios, write autotest.
31 Updated 1 weeks ago
kochetkov-ma Testing & QA Featured
codex-e2e-test
Run PR-grade real Codex E2E validation through claude-tap, including resume turns, multiple tool calls, optional image input, viewer verification, and screenshot evidence.
3,113 Updated yesterday
liaohch3