-
Notifications
You must be signed in to change notification settings - Fork 38
Additional Attributes & Async
luke.biel edited this page Feb 13, 2022
·
1 revision
Test case allows using additional attributes (eg. when user wants to use tokio::test
). In order for mentioned attributes to function correctly, they have to appear after first occurance of test_case
attribute. Eg.:
#[test_case(...)]
#[tokio::test]
#[allow(clippy::non_camel_case_types)]
async fn xyz() { }