temporal-python-testing
A skill from Seth Hobson's agents collection, in its backend-development plugin, for testing Temporal workflows written in Python with pytest.
スキルの内容
A skill from Seth Hobson's agents collection, in its backend-development plugin, for testing Temporal workflows written in Python with pytest. It explains unit tests that use Temporal's time-skipping test environment, so a workflow that would wait a month finishes in seconds, and an activity environment for testing activities on their own. Integration guidance covers replacing activities with mocks, injecting errors, multi-activity workflows, signals and queries. Replay testing runs workflow code against recorded histories, including production ones, to catch non-deterministic changes in CI. A local setup guide covers Docker Compose, pytest configuration and coverage tools, with a target of at least eighty per cent coverage. Detailed guides sit in a resources folder.
できること
- Unit test workflows with time skipping
- Mock activities in integration tests
- Replay recorded histories to check determinism
- Set up a local Temporal test environment
概要
- 公開元
- Seth Hobson
- ツール
- テスト
インストール
プロジェクトのドキュメントに、確認できるインストール手順がありません。 プロジェクトの手順を見る
含まれるファイル
- resources/integration-testing.md
- resources/local-setup.md
- resources/replay-testing.md
- resources/unit-testing.md
MCPサーバーやスキルは、お使いのコンピューターでコードを実行したり、データを操作したりできます。インストールする前にソースを確認してください。
詳細
出典
- スキルファイル(SKILL.md)github.com/wshobson/agents2026年11月10日
- GitHubリポジトリgithub.com/wshobson/agents · 根拠となる項目:公開元, 活動状況, ライセンス2026年11月11日
- リポジトリ内のフォルダ(temporal-python-testing)github.com/wshobson/agents · 根拠となる項目:スクリプトを含む2026年11月10日