Attribute Macro test_with::runtime_http

source ·
#[runtime_http]
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_http(httpbin.org)]
     fn test_works() {
         assert!(true);
     }
 }