[undertow-dev] unit testing was Re: Reducing Use of Undertow IdentityManager

Bill Burke bburke at redhat.com
Thu May 30 19:42:13 EDT 2013



On 5/30/2013 4:24 PM, Anil Saldhana wrote:
> Right, Jason.  It is not just Bill.  I need Undertow as my embedded web
> container for junit testing. Currently I use Jetty.
>

I'm currently using Jetty for my servlet integration tests but am going 
to switch to using Wildfly as soon as the next JBoss Modules is released 
and shipped with Wildfly.  The "mavenized modules" feature I added to 
JBoss Modules allows you to run unit tests without having to extract 
170m of jboss distro with each maven module you're are testing with. 
I've already prototyped it and it works pretty good.  Its a little 
slower than Jetty, specifically in the shutdown phase, but its good 
enough to be able to replace jetty.

It will also be cool to replace the TJWS micro-servlet container I use 
for in-browser unit testing.  But Undertow is going to have to beat the 
sub-microsecond startup and shutdown time of TJWS for me to replace it.

-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com


More information about the undertow-dev mailing list