跳到正文
FunCoding

integration-e2e-testing

Defines integration/E2E skeleton annotations, lane and file contracts, and route-parity review criteria. Use when generating or consuming test skeletons or reviewing shared mutation routes.

Star
725
许可证
MIT
最近提交
2026年12月1日

skills/integration-e2e-testing/SKILL.md

在 GitHub 上查看

Integration and E2E Skeleton Contracts

Test Lanes

LaneObservable boundaryDependencies
integrationInteractions within a process, including framework-rendered UI and module/API handlersReal participating components; mock only outside the claimed boundary
fixture-e2eActual UI behavior in the real UI runtime (browser, simulator, emulator, or device) with deterministic fixturesFixtures may replace dependencies outside the claimed boundary
service-integration-e2eOutcome depends on actual cross-service interaction or persistenceRequired local services and stores are real; stubs only outside that proof boundary

Test Skeleton Specification

Required Comment Patterns

Each test MUST include the following annotations:

AC: [Original acceptance criteria text]
Behavior: [Trigger] → [Process] → [Observable Result]
@lane: integration | fixture-e2e | service-integration-e2e
@dependency: none | [component names] | full-system
Selection evidence: [required claim, uncovered failure, and why cheaper existing proof is insufficient]

Use the project's comment syntax to wrap these annotations (e.g., // for C-family, # for Python/Ruby/Shell).

Selection evidence serves test selection and planning, so the implementing task removes it when it makes the test executable.

Verification Items (Optional)

When verification points need explicit enumeration:

Verification items:
- [Item 1]
- [Item 2]

Test File Naming Convention

Name test files by the repository's existing convention and the project runner's discovery rule; the @lane: annotation is the source of truth for lane routing. When the repository has no lane-separating convention and its runner discovers *.test.* files, use:

  • Integration tests: *.int.test.* or *.integration.test.*
  • fixture-e2e tests: *.fixture.e2e.test.* (or organize under tests/e2e/fixture/)
  • service-integration-e2e tests: *.service.e2e.test.* (or organize under tests/e2e/service/)

Route Parity for Shared Mutations

When multiple routes reach the same mutation, compare validation, classification, resource bounds, and read/parse/mutation/reporting order. A difference becomes a proof obligation when it can violate an authoritative contract or expose a material bypass in the changed boundary. Reuse existing proof or add the smallest test that detects that failure.

相似的 Skill

reverse-engineer-anything

MOmorluto/rea485k近 7 天新增 7,690 个 star

reverse-engineer-anything

MOmorluto/rea485k近 7 天新增 7,690 个 star

test-driven-development

OBobra/superpowers331k近 7 天新增 5,030 个 star

agent-runtime-gateway-smoke-test

AFaffaan-m/ECC314k近 7 天新增 3,503 个 star

ai-regression-testing

AFaffaan-m/ECC314k近 7 天新增 3,503 个 star

精选

accessibility

审计 Web、iOS、Android 的无障碍合规,支持键盘导航与屏幕阅读器。

AFaffaan-m/ECC314k近 7 天新增 3,503 个 star