Skip to main content

Crate atomr_testkit

Crate atomr_testkit 

Source
Expand description

atomr-testkit.

Provides:

  • TestKit — an actor system preconfigured for tests.
  • TestProbe — a typed receiver that assertions run against.
  • EventFilter — observes events on the system’s event stream.

Structs§

EventFilter
MultiNodeOopController
Out-of-process barrier controller. Bind it on the test driver, then point the children at local_addr() (e.g. via env var).
MultiNodeOopNode
Child-side handle. Construct one per node by passing the controller’s local_addr().
MultiNodeSpec
Multi-node test specification.
ScheduledToken
TestKit
TestProbe
TestScheduler
Virtual-time scheduler. Time only advances when advance_by / advance_to is called.

Enums§

MultiNodeError
MultiNodeOopError
TestProbeError

Functions§

within
Run body with the given budget, returning TestProbeError::Timeout if it does not finish in time.