temporal-python-testing

Test Temporal Python workflows with pytest and time-skipping utilities.

89|14|Updated Nov 15, 2025
One-click install
npx skills add https://github.com/HermeticOrmus/LibreUIUX-Claude-Code --skill temporal-python-testing-hermeticormus
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: temporal-python-testing
Source: https://github.com/HermeticOrmus/LibreUIUX-Claude-Code/tree/main/plugins/backend-development/skills/temporal-python-testing
Command: npx skills add https://github.com/HermeticOrmus/LibreUIUX-Claude-Code --skill temporal-python-testing-hermeticormus

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill streamlines the complex process of testing Temporal Python workflows, ensuring reliability and determinism through advanced strategies.

Core Features & Use Cases

  • Unit & Integration Testing: Write fast, isolated tests for workflows and activities.
  • Time-Skipping & Mocking: Simulate long-running workflows and external dependencies efficiently.
  • Replay Testing: Validate code changes against production histories for compatibility.
  • Use Case: You've updated a critical workflow. Use this Skill to write comprehensive tests, including replaying against production data, to guarantee the update won't break existing executions before deployment.

Quick Start

Show me how to write a basic unit test for a Temporal workflow using pytest and 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 with pytest?

Test Temporal Python workflows with pytest by writing isolated unit and integration tests for workflows and activities, leveraging Temporal SDK testing utilities to ensure reliability and determinism throughout the testing process.

How does time-skipping work in Temporal workflow testing?

Time-skipping in Temporal workflow testing simulates long-running workflows by artificially advancing time, allowing fast execution of tests that would otherwise wait for timers or extended delays to naturally complete.

Can I mock activities for Temporal workflow integration testing?

Yes, you can mock activities for Temporal workflow integration testing to isolate external dependencies, ensuring tests remain fast and deterministic by replacing actual activity executions with controlled mock responses.

What's the best way to validate Temporal workflow determinism?

The best way to validate Temporal workflow determinism is replay testing, which validates code changes against production event histories to confirm workflow updates won't break existing executions before deployment.

Does Temporal Python testing support CI/CD integration?

Yes, Temporal Python testing supports CI/CD integration, allowing you to automate comprehensive workflow tests, including replay testing against production data, to guarantee safe deployments within your continuous integration pipelines.