Skip to main content

start_test_server

Function start_test_server 

Source
pub async fn start_test_server(
    config_path: &Path,
    client_opts: TestClientOptions,
) -> Result<TestsContext, KmsClientError>
Expand description

Start a test server from a TOML config file with default client options.

The server is started in a dedicated thread with dynamic port allocation. Returns a TestsContext for interacting with the running server.

§Arguments

  • config_path — Path to a TOML config file (relative to repo root or absolute).