What problem does it solve? Testing Temporal workflows is challenging because long-running timers, external activity dependencies, and determinism requirements make naive tests slow and flaky. This Skill provides structured patterns for unit, integration, and replay testing of Temporal Python workflows so tests run fast and catch breaking changes before deployment. ## Core Features & Use Cases - Unit Testing with Time-Skipping: Use WorkflowEnvironment and ActivityEnvironment to test workflows and activities in isolation, completing month-long timers in seconds. - Integration Testing with Mocked Activities: Mock external services, 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 detect non-deterministic behavior before deployment. - Local Development Setup: Docker Compose configuration, pytest fixtures, coverage targets (≥80%), and CI/CD pipeline examples. - Use Case: Before deploying a refactored order-processing workflow, replay it against exported production histories in CI 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 your Temporal workflow using WorkflowEnvironment with time-skipping and a mocked activity.