CHAPTER 4

image

Testing LDAP Code

In this chapter, you will learn

  • The basics of unit/mock/integration testing.
  • Testing using an embedded LDAP server.
  • Mock testing using EasyMock.
  • Generating test data.

Testing is an important aspect of any software development process. As well as detecting bugs, it also helps to verify that all requirements are met and that the software works as expected. Today, formally or informally, testing is included in almost every phase of the software development process. Depending on what is being tested and the purpose behind the test, we end up with several different types of testing. The most common testing done by developers ...

Get Practical Spring LDAP: Enterprise Java LDAP Development Made Easy now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.