Skip to main content

runtime_user

Attribute Macro runtime_user 

Source
#[runtime_user]
Expand description

Run test case when runner is specific user

 // write as example in examples/*rs
 test_with::runner!(user);
 #[test_with::module]
 mod user {
     // Only works with user
     #[test_with::runtime_user(spider)]
     fn test_ignored() {
         panic!("should be ignored")
     }
 }