Have you taken a look at JerseyTest? It supports many different
containers, including an in-memory one...
On Wednesday, September 3, 2014, Andre Perez <andre.perez1501_at_gmail.com>
wrote:
> I am using JDK 1.7, Jersey 2.12, Tomcat 7, MongoDB and RestAssured
> <https://code.google.com/p/rest-assured/> to unit test my Rest calls...
> The issue is that RestAssured needs Tomcat to be running with my war file,
> in order, to work. Is there an embedded server or in-memory server along
> with a different unit testing framework which I can use to test my Restful
> Web Services (basically without be tightly coupled to an external server)?
> Would love to hear people's suggestions regarding best practices?
>