Testing LDAP implementations
Testing a LDAP implementation has always been a complex and painful task. The lack of tooling is not helping a lot.
We will expose some tools you can use in order to alleviate this pain:
- registered requests that can be replayed automatically
- using an embedded LDAP server into unit tests
- using an efficient schema aware API to ease the definition of tests
For those who use Java, we will expose a easy way to declare and start an LDAP server using Annotations in JUnit tests. Reverting the operations automatically will allow tests to be run atomically, without having to clean up the server between each tests. Such features make it extremely simple and fast to test an LDAP based application.