Registry / testing / tracing-test

tracing-test

JSON →
library0.2.6rscratesunverified

Helper functions and macros that allow for easier testing of crates that use tracing.

# Cargo.toml [dependencies] tracing-test = "0.2.6"
INSTALL
IMPORT
SIG · TRACING-TEST
T
tracing-test
testingrustv0.2.6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

traced_test
use tracing_test::traced_test;

Use the #[traced_test] macro to capture tracing output in tests.

use tracing_test::traced_test; #[traced_test] #[test] fn my_test() { tracing::info!("this will be captured"); assert!(logs_contain("captured")); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.6latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
19 hits · last 30 days
node
16
OpenAI (training)
1
Resources
tracing-test — cargo add tracing-test · libregistry