Command Palette

Search for a command to run...

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

typescript-e2e-testing

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

E2E and integration testing for TypeScript/NestJS projects using Jest, supertest, and real infrastructure via Docker (Kafka, PostgreSQL, MongoDB, Redis) with…

bmad-labsот bmad-labs★ 20 звёзд на GitHub

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

E2E Testing Skill

E2E testing validates complete workflows from user perspective, using real infrastructure via Docker.


Contents

Workflows

For comprehensive step-by-step guidance, use the appropriate workflow:

Workflow When to Use
Setup E2E Test Setting up E2E infrastructure for a new or existing project
Writing E2E Test Creating new E2E test cases with proper GWT pattern
Review E2E Test Reviewing existing tests for quality and correctness
Running E2E Test Executing tests with proper verification
Debugging E2E Test Systematically fixing failing tests
Optimize E2E Test Improving test suite performance

Workflow Selection Guide

IMPORTANT: Before starting any E2E testing task, identify the user's intent and load the appropriate workflow.

Detect User Intent → Select Workflow

User Says / Wants Workflow to Load File
"Set up E2E tests", "configure docker-compose", "add E2E to project", "create test helpers" Setup workflows/setup/workflow.md
"Write E2E tests", "add integration tests", "test this endpoint", "create e2e-spec" Writing workflows/writing/workflow.md
"Review E2E tests", "check test quality", "audit tests", "is this test correct?" Reviewing workflows/review/workflow.md
"Run E2E tests", "execute tests", "start docker and test", "check if tests pass" Running workflows/running/workflow.md
"Fix E2E tests", "debug tests", "tests are failing", "flaky test", "connection error" Debugging workflows/debugging/workflow.md
"Speed up E2E tests", "optimize tests", "tests are slow", "reduce test time" Optimizing workflows/optimize/workflow.md

Workflow Execution Protocol

  1. ALWAYS load the workflow file first - Read the full workflow before taking action
  2. Follow each step in order - Complete checkpoints before proceeding
  3. Load knowledge files as directed - Each workflow specifies which references/ files to read
  4. Verify compliance after completion - Re-read relevant reference files to ensure quality

Important: Each workflow includes instructions to load relevant knowledge from the references/ folder before and after completing tasks.


Knowledge Base Structure

references/
├── common/              # Shared testing fundamentals
│   ├── knowledge.md     # Core E2E concepts and test pyramid
│   ├── rules.md         # Mandatory testing rules (GWT, timeouts, logging)
│   ├── best-practices.md # Test design and cleanup patterns
│   ├── test-case-creation-guide.md # GWT templates for all scenarios
│   ├── nestjs-setup.md  # NestJS app bootstrap and Jest config
│   ├── debugging.md     # VS Code config and log analysis
│   └── examples.md      # Comprehensive examples by category
│
├── kafka/               # Kafka-specific testing
│   ├── knowledge.md     # Why common approaches fail, architecture
│   ├── rules.md         # Kafka-specific testing rules
│   ├── test-helper.md   # KafkaTestHelper implementation
│   ├── docker-setup.md  # Redpanda/Kafka Docker configs
│   ├── performance.md   # Optimization techniques
│   ├── isolation.md     # Pre-subscription pattern details
│   └── examples.md      # Kafka test examples
│
├── postgres/            # PostgreSQL-specific testing
│   ├── knowledge.md     # PostgreSQL testing concepts
│   ├── rules.md         # Cleanup, transaction, assertion rules
│   ├── test-helper.md   # PostgresTestHelper implementation
│   └── examples.md      # CRUD, transaction, constraint examples
│
├── mongodb/             # MongoDB-specific testing
│   ├── knowledge.md     # MongoDB testing concepts
│   ├── rules.md         # Document cleanup and assertion rules
│   ├── test-helper.md   # MongoDbTestHelper implementation
│   ├── docker-setup.md  # Docker and Memory Server setup
│   └── examples.md      # Document and aggregation examples
│
├── redis/               # Redis-specific testing
│   ├── knowledge.md     # Redis testing concepts
│   ├── rules.md         # TTL and pub/sub rules
│   ├── test-helper.md   # RedisTestHelper implementation
│
Полный SKILL.md на GitHub

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

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

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

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

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

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

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

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

LICENSEreferences/api/examples.mdreferences/api/knowledge.mdreferences/api/mocking.mdreferences/api/rules.mdreferences/api/test-helper.mdreferences/common/best-practices.mdreferences/common/debugging.mdreferences/common/examples.mdreferences/common/knowledge.mdreferences/common/nestjs-setup.mdreferences/common/rules.mdreferences/common/test-case-creation-guide.mdreferences/kafka/docker-setup.mdreferences/kafka/examples.mdreferences/kafka/isolation.mdreferences/kafka/knowledge.mdreferences/kafka/performance.mdreferences/kafka/rules.mdreferences/kafka/test-helper.mdreferences/mongodb/docker-setup.mdreferences/mongodb/examples.mdreferences/mongodb/knowledge.mdreferences/mongodb/rules.mdreferences/mongodb/test-helper.mdreferences/postgres/examples.mdreferences/postgres/knowledge.mdreferences/postgres/rules.mdreferences/postgres/test-helper.mdreferences/redis/docker-setup.mdreferences/redis/examples.mdreferences/redis/knowledge.mdreferences/redis/rules.mdreferences/redis/test-helper.mdworkflows/debugging/steps/step-01-init.mdworkflows/debugging/steps/step-01b-continue.mdworkflows/debugging/steps/step-02-capture-failure.mdworkflows/debugging/steps/step-03-classify.mdworkflows/debugging/steps/step-04-isolate.mdworkflows/debugging/steps/step-05-root-cause.md

FAQ

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

E2E and integration testing for TypeScript/NestJS projects using Jest, supertest, and real infrastructure via Docker (Kafka, PostgreSQL, MongoDB, Redis) with the Given-When-Then pattern. Use whenever the user is working on `.e2e-spec.ts` files or anything under `test/e2e/`, or asks to set up, write, review, run, debug, or optimize E2E or integration tests — including flaky tests, docker-compose for tests, Kafka/Redpanda consumers, test isolation, or GWT compliance.

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

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

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

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

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

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