Available on crate feature
deploy
only.Expand description
Various utilities for testing short Hydro programs, especially in doctests.
Functionsยง
- assert_
panics_ with_ message - Asserts that running the given closure results in a panic with a message containing
msg
. - multi_
location_ test - Sets up a test with multiple processes / clusters declared in the test logic (
thunk
). The test logic must return a single streaming output, which can then be read incheck
(an async closure) to perform assertions. - stream_
transform_ test - Sets up a test declared in
thunk
that executes on a singleProcess
, returning a streaming output that can be read incheck
(an async closure) to perform assertions.