Skip to content

Questions? Join our Discord.

JasperFx

Formal support for Wolverine, Marten, and Polecat is available through our Support Plans.

Integration Testing with Wolverine Added in 1.2.0

End-to-end integration testing for Wolverine: tracked sessions to assert published/sent messages, choosing between stubbed transports and a real broker (DisableAllExternalWolverineTransports uses a NullSender and DROPS explicitly-routed messages, producing a green suite over a system that did nothing), how a tracked session decides it is DONE (conditions replace quiescence rather than adding to it, the 5-second default timeout, untracked external transports, DoNotAssertOnExceptionsDetected also disabling the timeout assertion), why InvokeMessageAndWaitAsync rethrows instead of recording, the ways a tracked test goes vacuously green, never sleeping to wait, cascading message chains, scheduled messages, Marten and Polecat event-sourcing tests, IInitialData seeding, DB cleanup, xUnit v2 vs v3 IAsyncLifetime, and solo-mode test hosts.

Use when writing integration tests that verify message handling, routing, and persistence, when a tracked test passes suspiciously fast or proves nothing, or when combining Alba HTTP with Wolverine message tracking.

Skill details

  • Skill name: wolverine-testing-integration
  • Applies to: wolverine, marten, polecat
  • Tags: testing, integration-testing, tracked-sessions, database, scheduled-messages, polecat, transports, codegen-preview
  • Added in: 1.2.0
  • License: Proprietary. Copyright JasperFx Software LLC.

Proprietary. Copyright © JasperFx Software LLC. See LICENSE for terms.