Skip to main content

Module testing

Module testing 

Source
Expand description

Testing utilities for starpc.

This module provides in-memory transports and helpers for testing starpc services without actual network connections.

Structs§

InMemoryOpener
In-memory stream opener for testing.
SingleInMemoryOpener
Single-use in-memory opener.

Functions§

create_pipe
Creates a pair of connected in-memory streams.
create_pipe_default
Creates a pair of connected in-memory streams with default buffer size.
create_test_pair
Creates a connected client-server test setup.