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.
83
78%
Does it follow best practices?
Impact
87%
1.12xAverage score across 3 eval scenarios
Advisory
Suggest reviewing before use
Optimize this skill with Tessl
npx tessl skill review --optimize ./plugins/backend-development/skills/temporal-python-testing/SKILL.mdUnit 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%
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%
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%
70444e5
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.