Expand description
Various helpers for Actix applications to use during testing.
Creating A Test Service
Off-The-Shelf Test Services
Calling Test Service
Reading Response Payloads
Structs
Async I/O test buffer.
Test Request
builder.
Functions
Helper function that returns a response body of a TestRequest
Helper function that returns a deserialized response body of a TestRequest
Calls service and waits for response future completion.
Initialize service from application builder instance.
Creates service that always responds with 200 OK
and no body.
Helper function that returns a response body of a ServiceResponse.
Helper function that returns a deserialized response body of a ServiceResponse.
Creates service that always responds with given status code and no body.