Crate httpwg_macros

Source
Expand description

Macros to help generate code for all suites/groups/tests of the httpwg crate

Macrosยง

gen_catalog
This generates a function that returns a Catalog of type
tests
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>)