Am 25.07.2015 um 00:15 schrieb Dicebot:

This can possibly be very simple issue but I can't find any easy way to create dummy HTTPServrResponse/HTTPServerRequest so that I could unittest my rendering handlers. Theoretically it should be trivial, as all it needs is preparing HTTP fields in request and providing output stream in response (which later can be checked to verify output). But I can't seem to find anything like that.

Any suggestions? Are there any other recommendation for adding unittest coverage for handlers?

You are looking for createTestHTTPServerRequest and
createTestHTTPServerResponse in vibe.http.server :)