luatest
luatest copied to clipboard
Implement http asserts
I would like to have asserts for checking http responses:
local resp = some_http_method(...)
t.assert_http_status(resp, 200)
t.assert_http_json(resp, {'k' = '*'})
@RunsFor