Tcl Library Source Code

View Ticket
Login
Ticket UUID: 95cf373829e2f60a047d8b3cedd039efc8a622f2
Title: ldap testsuite is fatally incomplete
Type: Bug Version:
Submitter: aku Created on: 2017-10-31 18:19:35
Subsystem: ldap Assigned To: schlenk
Priority: 5 Medium Severity: Critical
Status: Open Last Modified: 2017-10-31 18:20:21
Resolution: None Closed By: nobody
    Closed on:
Description:
The tests for the ldap commands talking to an LDAP server test only the signature, i.e. `wrong#args` cases.

Actual operation of these commands is *not* tested.

Note that tcllib comes with test utilities to create mock servers. See the `pop3 `testsuite for a user. See `modules/devtools/{coserv,dialog}.tcl` for the helper implementation.

Even if the existing helpers are not suitable as they are, we can always extend them with what is needed.

IOW testing actual operation is feasible, without needing an external test server / endpoint.

Not having such tests is big flaw of the testsuite.
User Comments: aku added on 2017-10-31 18:20:21:
Michael, please look into this.