Skip to main content

runtime_https

Attribute Macro runtime_https 

Source
#[runtime_https]
Expand description

Run test case when the example running and the http service exist.

 // write as example in examples/*rs
 test_with::runner!(http);
 #[test_with::module]
 mod http {
     #[test_with::runtime_https(httpbin.org)]
     fn test_works() {
         assert!(true);
     }
 }