Module actix_web_lab::test

source ·
Expand description

Expiremental testing utilities.

Macros

  • Quickly write tests that check various parts of a ServiceResponse.
  • Create a TestRequest using a DSL that looks kinda like on-the-wire HTTP/1.x requests.

Functions

  • Creates service that always responds with given status code and echoes request path as response body.