temporal-python-testing

Test Temporal Python workflows with unit, integration, and replay methods.

Updated Feb 10, 2026
One-click install
npx skills add https://github.com/delorenj/00_ceiling --skill temporal-python-testing-delorenj
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: temporal-python-testing
Source: https://github.com/delorenj/00_ceiling/tree/main/temporal-python-testing
Command: npx skills add https://github.com/delorenj/00_ceiling --skill temporal-python-testing-delorenj

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides comprehensive strategies and practical examples for testing Temporal Python workflows and activities, ensuring reliability and maintainability of your Temporal applications.

Core Features & Use Cases

  • Unit Testing: Test workflows and activities in isolation with time-skipping and mocking.
  • Integration Testing: Validate workflow orchestration with mocked dependencies.
  • Replay Testing: Ensure code changes are backward-compatible with production histories.
  • Local Development Setup: Configure a local Temporal environment for seamless testing.
  • Use Case: You've made changes to a Temporal workflow and need to ensure they don't break existing running instances or introduce non-determinism before deploying to production.

Quick Start

Use the temporal-python-testing skill to learn how to write unit tests for Temporal workflows using time-skipping.

Frequently Asked Questions about temporal-python-testing

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

FAQPage Schema
How do I test Temporal Python workflows without waiting for real time delays?

Temporal Python testing uses time-skipping to execute workflows instantly. This allows you to validate time-dependent logic and orchestration rapidly without introducing artificial delays in your test suite.

What is replay testing for Temporal workflows?

Replay testing validates code changes against production histories. It ensures your workflow modifications remain backward-compatible and do not introduce non-determinism, which is essential for safe deployments.

How do I mock activities in Temporal Python integration tests?

You mock activities to isolate dependencies during integration testing. This validates workflow orchestration logic by simulating activity outputs, ensuring your workflow logic is robust without requiring external services.

Does this Temporal Python testing approach work with pytest?

Yes, the testing strategies integrate with pytest. You can structure unit, integration, and replay tests using pytest conventions to build robust CI/CD pipelines for your Temporal applications.

Why does my Temporal workflow fail determinism validation after a code update?

Determinism validation fails when code changes alter the workflow's execution sequence compared to production histories. Replay testing catches these non-deterministic modifications before they disrupt running instances.