Test Temporal workflows with pytest, time-skipping, and mocking strategies. Covers unit testing, integration testing, replay testing, and local development setup. Use when implementing Temporal workflow tests or debugging test failures.
Install with Tessl CLI
npx tessl i github:wshobson/agents --skill temporal-python-testingOverall
score
86%
Does it follow best practices?
If you maintain this skill, you can automatically optimize it using the tessl CLI to improve its score:
npx tessl skill review --optimize ./path/to/skillEvaluation — 87%
↑ 1.12xAgent success when using this skill
Validation for skill structure
Unit testing with time-skipping
Time-skipping env
100%
100%
Fixture yield/shutdown
100%
100%
Module-scoped fixture
0%
100%
Async test decorator
100%
100%
Activity isolation
100%
100%
ActivityEnvironment.run
100%
100%
Time-skipping benefit
100%
100%
Success path tested
100%
100%
Error/failure path tested
100%
100%
Worker task_queue
100%
100%
Import source
100%
100%
Without context: $0.8900 · 3m 26s · 32 turns · 78 in / 13,822 out tokens
With context: $1.1272 · 2m 57s · 45 turns · 5,239 in / 10,226 out tokens
Integration testing with mocked activities
unittest.mock usage
0%
0%
Mock as activity
50%
0%
Mock call assertion
0%
0%
non_retryable error
100%
100%
Transient retry test
100%
70%
Parallel activities
100%
100%
Signal test
100%
100%
Query test
100%
100%
Session fixture
0%
0%
Integration directory
100%
100%
Error path coverage
100%
100%
Without context: $1.1491 · 4m 45s · 42 turns · 37 in / 17,611 out tokens
With context: $1.1589 · 2m 46s · 42 turns · 332 in / 8,893 out tokens
Pytest project config and determinism
asyncio_mode = auto
100%
100%
cov-fail-under=80
100%
100%
cov=src options
100%
100%
Test markers defined
33%
100%
strict-markers
0%
100%
fixture_loop_scope
0%
100%
coveragerc source
100%
100%
coveragerc omit
100%
100%
coveragerc exclude_lines
0%
100%
temporalio version
100%
100%
pytest-asyncio version
100%
100%
pytest-xdist included
0%
100%
requires-python
100%
100%
workflow.random() used
50%
100%
workflow.now() used
100%
100%
External calls in activities
100%
100%
workflow.get_version usage
50%
75%
Without context: $0.9248 · 3m 19s · 37 turns · 36 in / 12,301 out tokens
With context: $3.8167 · 11m 42s · 62 turns · 301 in / 44,264 out tokens
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.