Skip to main content

Crate omry_integration

Crate omry_integration 

Source
Expand description

Common functionality for integration tests in this and other crates.

Re-exports§

pub use bridge::ApiBridge;
pub use flora_stack::FloraStack;
pub use full_stack::App;

Modules§

bridge
Module with APIs that make it more convenient to test the Omry RPC server.
containers
Utilities for setting up and working with test containers.
db
Module with functions to create and interact with a temporary database for tests.
env_keys
Environment variable keys used by Omry.
flora_image
Module with functions to create test containers for flora-server.
flora_stack
Module with functions to create flora stack (currently, flora server and Typesense) as testcontainers, and functions to facilitate interacting with those in integration tests.
full_stack
“Full” stack which includes a simple Omry client “app”. “Stack” that includes a simple Omry client app, to facilitate integration tests with a containerised Omry server.
helpers
Helper functions for integration tests. Helper functions and data structures for integration tests.
typesense
Module with functionality for setting up a test Typesense container.