l0rd59 / behat-ldap-extension
Behat Ldap Extension
0.1.0
2016-07-21 14:45 UTC
Requires
- behat/behat: ~3.0@stable
- symfony/ldap: ~3.0@stable
This package is not auto-updated.
Last update: 2024-11-19 21:03:45 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