技能 编程开发 端到端测试模式

端到端测试模式

v20261108
e2e-testing-patterns
此技能帮助你构建可靠、快速且可维护的端到端测试套件,确保代码快速发布并在使用者发现前捕获回归问题。适用于实施端到端测试自动化、调试不稳定测试、测试关键用户工作流、设置 CI/CD 测试管道,以及验证多浏览器和响应式设计中的可访问性要求。
获取技能
134 次下载
概览

E2E Testing Patterns

Build reliable, fast, and maintainable end-to-end test suites that provide confidence to ship code quickly and catch regressions before users do.

Use this skill when

  • Implementing end-to-end test automation
  • Debugging flaky or unreliable tests
  • Testing critical user workflows
  • Setting up CI/CD test pipelines
  • Testing across multiple browsers
  • Validating accessibility requirements
  • Testing responsive designs
  • Establishing E2E testing standards

Do not use this skill when

  • You only need unit or integration tests
  • The environment cannot support stable UI automation
  • You cannot provision safe test accounts or data

Instructions

  1. Identify critical user journeys and success criteria.
  2. Build stable selectors and test data strategies.
  3. Implement tests with retries, tracing, and isolation.
  4. Run in CI with parallelization and artifact capture.

Safety

  • Avoid running destructive tests against production.
  • Use dedicated test data and scrub sensitive output.

Resources

  • resources/implementation-playbook.md for detailed E2E patterns and templates.
信息
分类 编程开发
名称 e2e-testing-patterns
版本 v20261108
大小 5.62KB
更新时间 2026-11-09
语言