directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Sand" <rs...@idfconnect.com>
Subject Re: does apacheds supply an embedded runtime for use in unit testing?
Date Fri, 02 Sep 2016 15:09:07 GMT
That's excellent, thanks Kiran!!

-Richard


------ Original Message ------
From: "Kiran Ayyagari" <kayyagari@apache.org>
To: "users@directory.apache.org" <users@directory.apache.org>; "Richard 
Sand" <rsand@idfconnect.com>
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 <rsand@idfconnect.com> 
>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
>>
>>


Mime
View raw message