Module flora_stack

Module flora_stack 

Source
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§

FloraStack
Flora stack (flora server and Typesense), running in testcontainers, for integration testing.
FloraStackOptions
Optional parameters for FloraStack.

Functions§

flora_client
Spawns a new FloraServiceClient connected to the Omry server running in the given Docker container.
get_host_and_port
Attempts to use testcontainers::ContainerAsync APIs to get the host and host-side port for the given container.
spawn_client
Spawns a new FloraServiceClient connected to the given socket.