Skip to main content

test

Attribute Macro test 

#[test]
Available on crate feature macros only.
Expand description

Run an async fn test on a runtime of its own.

This takes the same arguments as [main], other than console: the subscriber it installs is the process-wide default, which only the first test of a binary could set.