Interview practice question
Testing a saga across services
Backend Engineering · Testing · Experienced
How do you test an order saga that spans order, inventory, payment and shipping services?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Unit test orchestrator/state transitions.
- Component tests per service with stubbed peers.
- Contract tests for commands/events.
- Few E2E tests: success + key failures.
- Test compensations and timeouts explicitly.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.