testing-sagas
OfficialTest sagas and compensation flows end-to-end.
Authorfireflyframework
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Writing and validating complex saga orchestration tests is error-prone due to multi-step compensation, policy variations, and external service interactions. This skill provides a comprehensive framework and examples for building lightweight SagaEngine tests, verifying happy paths, per-step compensations, and persistence checks.
Core Features & Use Cases
- Test infrastructure for saga testing using SagaEngine with lightweight components (no Spring context).
- Examples for building sagas via SagaBuilder, executing with StepInputs, and validating results with StepVerifier.
- Coverage of compensation scenarios: per-step compensation, compensation policies, error handling, mocks of external services, and lifecycle callbacks.
- Persistence checkpoint verification, expand-expand patterns, and layer/concurrency considerations.
Quick Start
Create a saga with multiple steps, simulate a failure at a chosen step, and verify corresponding compensations using StepVerifier.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: testing-sagas Download link: https://github.com/fireflyframework/fireflyframework-claude-skills/archive/main.zip#testing-sagas Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.