779 B
779 B
Testing
Handy-Http provides a rich set of utilities to make it easy to test the correctness of your request handling logic.
!!! warning This page is a work-in-progress.
Request & Response Builders
The Primitives component provides a ServerHttpRequestBuilder and ServerHttpResponseBuilder that you can use to set up a mocked request/response context for testing your HttpRequestHandler implementations. Each builder provides a fluent interface for setting various properties, including input and output streams.