typescript-e2e-testing

Set up and run E2E tests for TypeScript/NestJS applications with Docker.

Updated Jan 30, 2026
One-click install
npx skills add https://github.com/arch-playground/ai-workflow-runner --skill typescript-e2e-testing-arch-playground
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: typescript-e2e-testing
Source: https://github.com/arch-playground/ai-workflow-runner/tree/main/.agents/skills/typescript-e2e-testing
Command: npx skills add https://github.com/arch-playground/ai-workflow-runner --skill typescript-e2e-testing-arch-playground

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the entire End-to-End (E2E) testing process for TypeScript and NestJS projects, from initial setup to debugging and optimization, ensuring robust and reliable application testing.

Core Features & Use Cases

  • Comprehensive Testing Lifecycle: Covers setup, writing, reviewing, running, debugging, and optimizing E2E tests.
  • Real Infrastructure: Integrates with Docker for testing against real databases (PostgreSQL, MongoDB), message brokers (Kafka), and caches (Redis).
  • GWT Pattern Enforcement: Guides users to write tests using the Given-When-Then structure for clarity and maintainability.
  • Use Case: A developer needs to set up E2E tests for a new NestJS project that uses PostgreSQL and Kafka. This Skill provides the necessary configuration, test structure, and guidance to get started quickly and correctly.

Quick Start

Use the typescript-e2e-testing skill to write an E2E test for a new NestJS project.

Frequently Asked Questions about typescript-e2e-testing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up E2E testing for a NestJS application using Docker and real infrastructure?

Setting up E2E testing for a NestJS application involves configuring Docker to provision real infrastructure like PostgreSQL, MongoDB, Kafka, and Redis, then executing tests against these live services using Jest.

What is the Given-When-Then pattern for structuring TypeScript integration tests?

The Given-When-Then pattern structures TypeScript integration tests by separating setup, action, and assertion phases. This Skill enforces the GWT pattern to ensure your E2E tests remain clear, maintainable, and easy to debug.

Can I test NestJS microservices that integrate with Kafka and PostgreSQL using Jest?

Yes, you can test NestJS microservices with Kafka and PostgreSQL using Jest. This framework provides specific guidance and configuration examples for integrating message brokers and databases into your E2E testing lifecycle.

What's the best way to debug failing E2E tests in a TypeScript NestJS project?

The best way to debug failing E2E tests in a TypeScript NestJS project is to follow structured failure resolution protocols. This framework provides specific debugging guidance and optimization best practices to isolate issues in your test suite.

How do I maintain test isolation when running E2E tests against real databases like MongoDB and Redis?

Maintaining test isolation with real databases like MongoDB and Redis requires applying specific best practices for test isolation and performance. This framework guides you through structuring tests to prevent data contamination across runs.