Expand description
In-process end-to-end test helpers for Rust actors.
Mirrors the TypeScript rivetkit/test setupTest helper: setup spawns
or reuses a local engine, serves the registry, and returns a client so a test
can call actions with no engine or HTTP plumbing.
Structs§
- Test
Actor - A handle to an actor under test. Action calls retry while the actor is still starting up, so the first call needs no manual readiness wait.
- Test
Handle - A running test registry. Drop or
shutdownto stop serving. The local engine is intentionally left running for reuse.
Functions§
- setup
- Spawns or reuses a local engine, serves
registry, and returns a handle for calling actions through the Rust client.