Utility library of helper macros for working with unit tests.
actual!
- declare actual variable with differing debug
and release
syntaxexpect!
- declare expected variable with differing debug
and release
valuescapture!
- captures stdout
and stderr
for testing outputEach macro is gated by a feature.
No feature is mutually exclusive and can be combined as needed.
actual!
macro
```toml
[dependencies]test-toolbox = { version = "0.5", features = ["actual"] } ```
capture!
macro
```toml
[dependencies]test-toolbox = { version = "0.5", features = ["capture"] } ```
expect!
macro
```toml
[dependencies]test-toolbox = { version = "0.5", features = ["expect"] } ```
actual!
macroexpect
macrocapture!
macro