Lightlines
By wshobson

temporal-python-testing

wshobson10.4k installs

Test long-running Temporal workflows in seconds.

What it does

Guides the creation of Temporal workflow tests with pytest, time-skipping, activity mocks, and replay checks.

When to use it

Use when implementing Temporal workflow tests or debugging test failures.

How to use it

It changes how the agent tests Temporal workflows by favoring integration tests, async fixtures, time-skipping, mocked activities, and replay validation.

What you provide

  • An existing project

Uses

Good to know

  • cannot be undone: Docker volumes
  • a credential is hard-coded: POSTGRES_PASSWORD

Latest review

What you need · 3

The provided project configuration requires Python 3.10 or later.

The testing guidance uses the Temporal Python SDK; the provided dependency configuration specifies temporalio 1.5.0 or later.


Access · 2

This skill

Docker volumes

Write

Deletes local database volumes (irreversible)

docker-compose

Execute

Starts a local Temporal server