What problem does it solve? Testing Temporal workflows is challenging because long-running timers, external activity calls, and determinism requirements make naive tests slow and flaky. This Skill provides structured patterns for unit, integration, and replay testing so workflow code can be validated quickly and safely before deployment. ## Core Features & Use Cases - Unit Testing with Time-Skipping: Run month-long workflows in seconds using WorkflowEnvironment, and test activities in isolation with ActivityEnvironment. - Integration Testing with Mocked Activities: Mock external dependencies, inject transient and non-retryable errors, and test signals, queries, and parallel activity orchestration. - Replay Testing for Determinism: Validate workflow code changes against production histories to catch non-deterministic behavior before deployment. - Local Development Setup: Docker Compose configuration for a local Temporal server, pytest configuration, coverage targets, and CI/CD pipeline examples. - Use Case: Before deploying a refactored order-processing workflow, replay it against exported production histories to confirm the new code produces identical decisions and is safe to ship. ## Quick Start Ask the AI to write a pytest unit test for a Temporal workflow using the time-skipping WorkflowEnvironment with a mocked activity.