users@jersey.java.net

[Jersey] Speeding up jersey-test?

From: Gili <cowwoc_at_bbs.darktech.org>
Date: Mon, 4 Apr 2011 11:48:26 -0700 (PDT)

Hi,

Jersey-test is quite slow. Granted, the unit tests are doing a lot (starting
up a web server, running the test and shutting down the web server) but the
end-result is that each @Test takes a minimum of a second compared with
milliseconds used by my other unit tests. I am using the Grizzly web
container.

Is there a way to speed up these unit tests? How fast is
InMemoryTestContainer? I can't use it on my end because it doesn't seem to
be compatible with Guice but I'm just curious how if it makes a big
difference.

Thanks,
Gili

--
View this message in context: http://jersey.576304.n2.nabble.com/Speeding-up-jersey-test-tp6239607p6239607.html
Sent from the Jersey mailing list archive at Nabble.com.