본문으로 건너뛰기
cccskills
무료GitHub에 공개

real-e2e-test

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

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md2.7 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

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

uv run pytest tests/e2e/ --run-real-e2e --timeout=300 -v

Run a single test

uv run pytest tests/e2e/test_real_proxy.py::TestRealProxy::test_single_turn --run-real-e2e --timeout=180 -v -s

Run with debug output

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.

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:

  • 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 prompts (PROMPT_ONE, PROMPT_TWO)
  • At least 2 requests hit /v1/messages
  • At least one response content block has "type": "tool_use"
  • HTML viewer file is generated (trace_*.html)

Notes

  • Real E2E tests are skipped by default; --run-real-e2e is required.
  • Each pytest case starts a fresh proxy server and trace directory.
  • Timeouts are intentionally generous because real API calls are involved.
  • tmux mode includes retry logic for prompt submission and post-run JSONL assertions.

Pytest Test Cases

TestTimeoutWhat It Tests
test_single_turn180sBasic prompt/response trace capture
test_multi_turn300sConversation memory with -c flag
test_tool_use180sTool use generates multiple trace records
test_html_viewer_generated180sHTML viewer generated with embedded trace data
test_api_key_redaction180sAPI keys redacted from trace output
test_streaming_sse_capture180sSSE events captured in streaming mode
test_trace_summary180sCLI stdout includes trace summary and API call count

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Run PR-grade real Codex E2E validation through claude-tap, including resume turns, multiple tool calls, optional image input, viewer verification, and screenshot evidence.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

liaohch3/claude-tap3.3천2026년 10월 20일 업데이트

Generate demo assets (GIF/MP4) from real tmux E2E runs and viewer screenshots using asciinema and Playwright

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

liaohch3/claude-tap3.3천2026년 10월 20일 업데이트

e2e-test

무료

Run claude-tap end-to-end tests with pytest

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

liaohch3/claude-tap3.3천2026년 10월 20일 업데이트

Test JS logic embedded in HTML using two-layer strategy - Python unit tests + Playwright browser integration tests

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

liaohch3/claude-tap3.3천2026년 10월 20일 업데이트

Validate maintainer docs structure, standards freshness, manifest paths, and plan state. Run this after modifying any file under .agents/docs/standards/, .agents/docs/plans/, .agents/docs/architecture/, or AGENTS.md — it catches stale metadata, broken manifest paths, and plan state drift before CI does.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

liaohch3/claude-tap3.3천2026년 10월 20일 업데이트

Record browser test videos with Playwright for PR review and bug fix verification

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

liaohch3/claude-tap3.3천2026년 10월 20일 업데이트

liaohch3의 스킬 모두 보기

이 스킬의 문제 신고