[undertow-dev] Testing custom HttpHandlers

Bill O'Neil bill at dartalley.com
Sat Jan 14 15:22:23 EST 2017


Hello,

How would you recommend testing custom HttpHanders? The DefaultServer class
in core part of the test code so it is not included in the jar for reuse.
Would it be reasonable to pull testing utils into their own project so it
can be reused? Or would you recommend just mocking a HttpServerExchange and
passing that to the HttpHandler?

Thanks,
Bill
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/undertow-dev/attachments/20170114/9f844819/attachment.html 


More information about the undertow-dev mailing list