LDAP Testing with Java: ApacheDS vs Embedded-LDAP-JUnit
Monday, July 4th, 2016When writing applications that interchange information with LDAP directory services there is always the need to write integration tests for these components and services.
Therefore we need a the possibility to start-up an embedded LDAP server, fill it with test-data and control its life-cycle during the test-phases.
In the following tutorial I’d like to demonstrate two candidates that fulfil this purpose, the ApacheDS test integrations and a small library named embedded-ldap-junit.