Skip to content

L0rD59/behat-ldap-extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Behat Ldap Extension

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