l0rd59 / behat-ldap-extension
Behat Ldap Extension
Installs: 12
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 0
pkg:composer/l0rd59/behat-ldap-extension
Requires
- behat/behat: ~3.0@stable
- symfony/ldap: ~3.0@stable
This package is not auto-updated.
Last update: 2025-10-22 01:54:26 UTC
README
Demo
Require Ldap server and adapt your configuration in fixtures/behat.yml.
php vendor/bin/behat -c fixtures/behat.yml
Usage
Configure your behat.yml
default:
  suites:
    default:
      contexts:
        - L0rD59\Behat\LdapExtension\Context
  extensions:
    L0rD59\Behat\LdapExtension\Extension:
      rootDn: "dc=basedn" # require
      host: 'localhost' #default
      port: 389 #default
      version: 3 #default
      encryption: 'none' #default
      bind_before_scenario: true #default
      purge_before_scenario: false #default
      authentication:
        rdn: ~ #default
        password: ~ #default
Print available step : behat -dl