add unit tests for various utility functions,

add integration test for LDAPClient,
add aiutomatic openldap configuration for testing through make,
add make targets for tests
improve make targets for build/clean,
update README with build and test instructions
This commit is contained in:
2025-02-11 07:09:48 +00:00
parent 50ff3b2cfc
commit 5e2c64f9b7
11 changed files with 1617 additions and 6 deletions

14
test/test_config.json Normal file
View File

@@ -0,0 +1,14 @@
{
"listenPort": 80,
"ldapURL": "ldap://localhost",
"startTLS": true,
"basedn": "dc=test,dc=paasldap",
"sessionSecretKey": "test",
"sessionCookieName": "PAASLDAPAuthTicket",
"sessionCookie": {
"path": "/",
"httpOnly": true,
"secure": false,
"maxAge": 7200
}
}