Workflow Event Testing
Summary
The Workflow smoke path checks that outbox records include all six expected integration-event types. It does not verify relay publication, broker delivery, consumer effects, retries, replay, ordering, callbacks or notifications.
Recommended test layers
- Unit-test aggregate event sequences and payload facts.
- Contract-test all six schema-version-1 serialized messages.
- Integration-test atomic canonical state and outbox persistence.
- Fault-test publish failure, status-save failure, duplicate delivery and concurrent relays.
- End-to-end test notification and callback behavior only after those consumers are implemented.
Requires Confirmation
CI ownership, broker test environment, compatibility fixtures, replay scenarios and acceptance criteria require confirmation.
Source References
microservices/scripts/smoke-workflow.ps1microservices/src/workflow-service/Domain/Workflow/WorkflowDomainEvents.csmicroservices/src/workflow-service/Messaging/WorkflowIntegrationEvents.cs
Related Articles
See Also
Keywords
Workflow events, contract testing, outbox testing.
Revision Information
- Status: Draft
- Last reviewed: 2026-07-20
- Next review: 2026-10-20