Attribute Macro stubr::apps [−][src]
#[apps]
Expand description
Starts a Stubr server for each remote app name supplied.
Example
use asserhttp::*; // optional #[test] #[stubr::apps("producer-a", "producer-b")] // <- start a server for each app fn using_producers() { // a binding is created for each app supplied with the name of the app isahc::get(producer_a.uri()).expect_status_ok(); isahc::get(producer_b.uri()).expect_status_ok(); }