Skip to main content

Event Testing

Summary

Recruitment smoke coverage asserts key outbox event types and onboarding completion. Employee/downstream smoke helpers exercise synchronization paths, but no source-backed unit-test project or complete offboarding event suite was found.

Audience

QA engineers, developers, integration engineers, support, and architects.

Reference Content

Existing evidence

  • Recruitment smoke assertions cover CandidateApplied, InterviewScheduled, OfferGenerated, OfferAccepted, OfferRejected, CandidateOnboarded and CandidateJoined outbox presence.
  • Recruitment smoke covers completion only after Employee provisioning behavior.
  • Employee synchronization helper and service smoke scripts support manual/integration verification.
  • Notification, Payroll and Leave have smoke scripts relevant to their service boundaries.
  • No dedicated test project was found under the microservices tree.

Missing coverage

  • All 19 domain events and 18 mappings in one automated catalog test.
  • OfferWithdrawn unmapped-event assertion.
  • Employee outbox relay absence/activation contract.
  • Duplicate, non-consecutive replay and out-of-order scenarios across every consumer.
  • Poison messages, retry ceilings and dead-letter behavior.
  • Correlation/causation propagation.
  • Compatibility versus extracted route parity.
  • Exit/offboarding event tests, because no such events exist.
  • Asset-clearance-to-exit interaction.

No smoke script or service was executed during this documentation work.

Requires confirmation

Unless explicitly confirmed above, live delivery, consumer deployment, replay, reconciliation, retention, contract governance, monitoring and production ownership require confirmation.

Source References

  • microservices/scripts/smoke-recruitment.ps1
  • microservices/scripts/smoke-employee.ps1
  • microservices/scripts/EmployeeSyncSmokeHelper/Program.cs
  • microservices/scripts/smoke-notification.ps1
  • microservices/scripts/smoke-payroll.ps1
  • microservices/scripts/smoke-leave.ps1

See Also

Keywords

  • Onboarding events
  • Offboarding events
  • Integration contracts

Revision Information

  • Status: Draft
  • Last reviewed: 2026-07-20
  • Review cycle: Quarterly