Expand description
Helper functions for integration tests. Helper functions and data structures for integration tests.
Structs§
- Temp
Path With String - Temporary path and its string representation.
Functions§
- free_
port_ ipv4 - Gets a free IPv4 port from the OS. Returns the listener and the port.
- free_
port_ ipv6 - Gets a free IPv6 port from the OS. See
free_port_ipv4for details about the return value. - init_
tracing_ subscriber - Initializes a tracing subscriber for tests.
- make_
test_ db_ records - Gets records that have been inserted into the in-memory SQLite, so that they have unique ids.
- make_
test_ record - Makes a
Recordinstance for tests. - make_
test_ record_ params - Makes an instance of
RecordParamsfor tests.