Macro tests

Source
macro_rules! tests {
    ($body: tt) => { ... };
}
Expand description

This generates a module tree with some #test functions. The $body argument is pasted inside those unit test, and in that scope, test is the httpwg function you can use to run the test (that takes a mut conn: Conn<IO>)