Crate httpwg_macros
source ·Expand description
Macros to help generate code for all suites/groups/tests of the httpwg crate
Macros§
- This generates a function that returns a Catalog of type
- This generates a module tree with some #test functions. The
$bodyargument is pasted inside those unit test, and in that scope,testis thehttpwgfunction you can use to run the test (that takes amut conn: Conn<IO>)