Re-exports

pub use wasmcloud_interface_testing as testing;
pub use regex;

Modules

cli utilities

simple test harness to load a capability provider and test it

Macros

check that the condition is true, returning RpcError if it is false

check that the two expressions are equal, returning RpcError if they are not

given a list of regex patterns for test cases, run all tests that match any of the patterns. The order of the test runs is based on the order of patterns. Tests are run at most once, even if they match more than one pattern.

given a list of regex patterns for test cases, run all tests that match any of the patterns. The order of the test runs is based on the order of patterns. Tests are run at most once, even if they match more than one pattern. This is like the run_selected! macro, except that it spawns a thread for running the test case, so it can handle panics (and failed assertions, which panic).