That's excellent, thanks Kiran!!

-Richard


------ Original Message ------
From: "Kiran Ayyagari" <[email protected]>
To: "[email protected]" <[email protected]>; "Richard Sand" <[email protected]>
Sent: 9/2/2016 11:06:31 AM
Subject: Re: does apacheds supply an embedded runtime for use in unit testing?

On Fri, Sep 2, 2016 at 8:32 PM, Richard Sand <[email protected]> wrote:

Hi all - I'm writing unit tests for an LDAP-backed web service. The web service is deployed on Jersey which supplies a few different embeddable runtimes for use in unit tests, so that the tests can spin up a server, hit them with the test client, and then spin down. But I need to keep ApacheDS running for the servers to work, which makes sharing the tests amongst developers (and onto our CI server) difficult. Does ApacheDS have a support for this, or are there any elegant solutions folks have come up with for
 this scenario?

Take a look at the tests present here
http://svn.apache.org/repos/asf/directory/apacheds/trunk/server-integ

and the associated annotations are here
http://svn.apache.org/repos/asf/directory/apacheds/trunk/server-annotations.

We have implemented the above to solve a similar problem.


 Best regards,

 Richard



Reply via email to