| Crates.io | n0-tracing-test |
| lib.rs | n0-tracing-test |
| version | 0.3.0 |
| created_at | 2025-12-18 10:41:52.808285+00 |
| updated_at | 2025-12-18 10:41:52.808285+00 |
| description | Helper functions and macros that allow for easier testing of crates that use `tracing`. |
| homepage | |
| repository | https://github.com/n0-computer/n0-tracing-test |
| max_upload_size | |
| id | 1992159 |
| size | 38,488 |
A fork of tracing-test
We forked because we want colored output on the terminal. See the list of PRs for other changes from upstream.
This crate provides an easy way to enable logging in tests that use tracing, even if they're async. Additionally, it adds a way to assert that certain things were logged.
To enable ANSI colors and support for filtering with RUST_LOG in the terminal
output, enable the pretty-log-printing feature (enabled by default).
Similar crates:
See https://docs.rs/n0-tracing-test/.
Copyright © 2020-2023 Threema GmbH, Danilo Bargen and Contributors.
Copyright © 2025 N0, INC.
Licensed under either of
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.