Module actix_web::test [−][src]
Expand description
Various helpers for Actix applications to use during testing.
Structs
Async io buffer
Test Request
builder.
Test server controller
Functions
Calls service and waits for response future completion.
Create default test server config
Create service that responds with response with specified status code
This method accepts application builder instance, and constructs service.
Create service that always responds with HttpResponse::Ok()
Helper function that returns a response body of a ServiceResponse.
Helper function that returns a deserialized response body of a ServiceResponse.
Helper function that returns a response body of a TestRequest
Helper function that returns a deserialized response body of a TestRequest
Start test server with default configuration
Start test server with custom configuration
Get first available unused address