Is directory testing documentation up to date?

Your question

I am running the directory tests according to Testing Stalwart | Stalwart and have noticed a few issues.

  1. ldap.cfg has moved to tests/resources/ldap/ldap.cfg.
  2. is glauth even used at all?
  3. I need to run the tests with STORE set, i.e. STORE=RocksDb

The tests run just fine without glauth and looking at ldap.cfg, it appears to setup a directory with entries that don’t line up with tests/src/directory/{ldap.rs,integration.rs}.

It appears to me as the tests are only using the docker based integration test.

I understand that topics in this category are triaged by a bot first but a human reply will follow up. If I’d prefer a human-only reply, I’ll add the no-ai tag to my topic.

on

This confirms it: the tests now use a testcontainers-based Docker infrastructure (tests/docker/) with osixia/openldap spun up automatically via ensure_openldap(), not the standalone glauth setup described in the published docs. The tests/resources/ldap.cfg glauth config referenced in the docs is stale/unused; the file that does exist has actually moved to tests/resources/ldap/ldap.cfg but isn’t invoked by the current test suite at all.