[−][src]Crate actix_testing
Various helpers for Actix applications to use during testing.
Structs
Io | |
ServerConfig | |
TestServer | The |
TestServerRuntime | Test server runstime |
Functions
block_fn | Runs the provided function, blocking the current thread until the result future completes. |
block_on | Runs the provided future, blocking the current thread until the future completes. |
call_service | Calls service and waits for response future completion. |
run_on | Runs the provided function, with runtime enabled. |
spawn | Spawn future to the current test runtime. |