Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

integration-e2e-testing

БесплатноБез исполняемых скриптовНе проверен

Selects and designs the smallest integration/E2E test set that proves accepted behavior at an observable boundary. Use when writing or reviewing E2E or…

shinprот shinpr★ 239 звёзд на GitHub

Об этом скилле

Integration Test & E2E Test Design/Implementation Rules

References

Test Types and Selection

Test Type Purpose Scope External Deps File Format Implementation Timing
Integration Verify component interactions in-process Partial system integration (in-process modules; for UI components, RTL+MSW for React/TS) Mocked or in-process *.int.test.ts Created alongside implementation
fixture-e2e Verify browser behavior with deterministic fixtures Full UI flow with mocked backend / fixture-driven state Mocked / fixture only — no live services *.fixture-e2e.test.ts Created alongside the UI feature
service-integration-e2e Verify a contract that only a running stack can expose Full system across services Live local services or service-level stubs *.service-e2e.test.ts Executed after the required services exist

Lane selection (E2E only):

  • Default lane for user-facing UI journeys is fixture-e2e — it runs a real browser against deterministic fixtures, catches the bugs that unit/integration tests miss (button no-op, state never updates, navigation breaks), and runs in CI without infrastructure setup
  • Select service-integration-e2e when the proof obligation is real cross-service behavior such as data persistence, transactional consistency, or an external service contract

Start from accepted proof obligations, assign each to the cheapest boundary that can expose its failure, remove duplicate coverage, and keep the smallest set that covers every remaining distinct failure. Let those obligations determine the test count. A feature may validly produce no test in a lane.

Behavior-First Principle

Candidate Evidence

An integration/E2E candidate states:

  • an observable result at the boundary named by the accepted behavior
  • a material failure that crosses the components exercised by the selected lane
  • an automated harness or controlled environment capable of reproducing that failure

Route behavior observable in isolation to unit/component verification. Record an unavailable controlled environment as a proof prerequisite for service-integration-e2e.

Candidate Routing

  • Keep business-logic accuracy, data integrity, user-visible behavior, and observable error handling in the integration/E2E pool when they require those boundaries
  • Route pure implementation details and data transformations to unit tests, performance claims to performance verification, and layout-only claims to visual or UI checks
  • Represent external contracts with service-level stubs or a controlled local service when that contract is the proof target

Skeleton Specification

Required Skeleton Format

A committed file matching the project's test include pattern must remain valid to its runner. Use the detected framework's smallest pending suite (describe plus it.todo, or its equivalent), with only the test-framework import and the required comments. The implementing task replaces pending cases and adds application imports, assertions, fixtures, and mock setup alongside implementation.

Each test MUST include the following annotations.

// AC: "[Acceptance criteria original text]"
// Behavior: [Trigger] -> [Process] -> [Observable Result]
// @lane: integration | fixture-e2e | service-integration-e2e
// @dependency: none | [component names] | full-ui (mocked backend) | full-system
// @real-dependency: [component name] (optional, when Test Boundaries specify non-mock setup)
// Primary failure mode: [specific regression that must make the implemented test fail]
// Proof obligation: [boundary and observable state the implemented test must assert]
// Verification items: [observations that establish the obligation]

@lane selection rule:

  • integration — Component interaction in-process, no browser (e.g., RTL+MSW for React/TS, in-process module/handler integration in any language)
  • fixture-e2e — Browser-level UI verification with mocked backend / fixture-driven state. @dependency is typically full-ui (mocked backend)
  • service-integration-e2e — Browser-level or end-to-end verification against running local services or stubs. @dependency is full-system

Property Annotations

// Property: `[Verification expression]`
// fast-check: fc.property(fc.[arbitrary], (input) => [invariant])

Test Set Selection

  1. Read the accepted behavior and each recorded proof obligation from the governing artifact or task.
  2. F
Полный SKILL.md на GitHub

Установить integration-e2e-testing в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/e2e-design.mdreferences/e2e-environment-prerequisites.md

FAQ

Что делает скилл integration-e2e-testing?

Selects and designs the smallest integration/E2E test set that proves accepted behavior at an observable boundary. Use when writing or reviewing E2E or integration tests.

Как установить скилл integration-e2e-testing?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл integration-e2e-testing запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить integration-e2e-testing с