Expand description
Module with functions to create flora stack (currently, flora server and Typesense) as testcontainers, and functions to facilitate interacting with those in integration tests.
Structs§
- Flora
Stack - Flora stack (flora server and Typesense), running in testcontainers, for integration testing.
- Flora
Stack Options - Optional parameters for
FloraStack. - Omry
Addrs irpcand web socket addresses for the Omry server.
Functions§
- api_
container - Spawns a new API instance connected to the Omry server running in the given Docker container.
- app_
container - Returns an app configured to connect to the server running in the given container.
- get_
host_ and_ ports - Attempts to use
testcontainers::ContainerAsyncAPIs to get the host and host-side port for the given container. - spawn_
and_ auth - Spawns a new
OmryApiconnected to the given address, and authenticates with the given token.