e2e-setup

仓库创建 2026年6月14日最近提交 1 天前SkillHot 收录 3 小时前
▸ 精选理由

能把 e2e 作为稳定的 PR 门禁落地,提升发布信心并降低回归风险。

▸ 风险提示

通常需浏览器驱动与测试凭据,可能涉及真实服务或敏感数据。

这个 Skill 做什么

在任意仓库中搭建可靠的 e2e 测试套件,包含会话复用、录像/trace 与分层断言。

在任意仓库里搭好可靠的 e2e 套件,把每个 PR 真跑一次系统流程而不是绕过。适合没有或弱 e2e 的项目,支持会话复用、录像/trace 和分层断言,能帮你快速定位失败原因。它还提供可复用的 auth/session helper,并输出可作为 PR gate 的证据。

▸ 展开 SKILL.md 英文原文

Set up an end-to-end test suite in any repo, following practices that make e2e a reliable per-PR gate: real flows over bypass, layered assertions, a reusable auth/session helper, video+trace evidence, and a compounding suite. Use when a repo has no e2e (or weak e2e) and you want system-level tests — "set up e2e", "add end-to-end tests", "scaffold a test gate".

开发编程端到端测试验证门禁测试工具链通用
1.1k
Stars
141
Forks
10
仓库内 Skill
积累中
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/AI-Builder-Club/skills/main/skills/e2e-setup/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/AI-Builder-Club/skills/main/skills/e2e-setup/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# Set up an e2e test suite

E2e tests verify the whole running system *through the app* (browser/API), not one
module. They are the per-PR gate. Pairs with `dev-local-setup` (a reproducible
local stack) and `verifier-setup` (which scaffolds the repo's `/verify` skill —
the verify→ship loop this gate feeds into).

## Where it lives
- **Unit/integration tests** stay inside each app/package — they own one module.
- **System e2e** is a dedicated top-level package (e.g. `e2e/`) — it spans all
  apps, so it belongs to none. Add it to the workspace if a monorepo.

## The recipe
1. Stand the app up reproducibly — see `dev-local-setup`. The e2e suite **never
   boots the app itself**; it runs against
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有