Drupal User Registry - a Codeception module for managing test users
===

A Codeception module for managing test users on Drupal sites.

## Install with Composer

    {
        "repositories": [
            {
                "type": "vcs",
                "url": "https://github.com/pfaocle/codeception-module-drupal-user-registry.git"
            }
        ],
        "require": {
            "codeception/codeception": "2.0.*",
            "pfaocle/codeception-module-drupal-user-registry": "dev-master"
        }
    }


## Example suite configuration

    class_name: AcceptanceTester
    modules:
        enabled:
            - PhpBrowser
            - AcceptanceHelper
            - DrupalUserRegistry
        config:
            PhpBrowser:
                url: 'http://localhost/myapp/'
            DrupalUserRegistry:
                roles: ['administrator', 'editor', 'sub editor', 'lowly-user', 'authenticated']  # A list of user roles.
                password: 'test123!'         # The password to use for all test users.
                create: true                 # Whether to create all defined test users at the start of the suite.
                delete: true                 # Whether to delete all defined test users at the end of the suite.
                drush-alias: '@mysite.local' # The Drush alias to use when managing users via DrushTestUserManager.


## Acknowledgements

Props to [Andy Rigby](https://github.com/ixisandyr) for the storage code and inspiration.

Drupal User Registry - a Codeception module for managing test users
===

A Codeception module for managing test users on Drupal sites.

## Install with Composer

This module is available on [Packagist](https://packagist.org/packages/pfaocle/codeception-module-drupal-user-registry) and can be installed with Composer:

    {
        "require": {
            "codeception/codeception": "2.0.*",
            "pfaocle/codeception-module-drupal-user-registry": "dev-master"
        }
    }


## Example suite configuration

    class_name: AcceptanceTester
    modules:
        enabled:
            - PhpBrowser
            - AcceptanceHelper
            - DrupalUserRegistry
        config:
            PhpBrowser:
                url: 'http://localhost/myapp/'
            DrupalUserRegistry:
                roles: ['administrator', 'editor', 'sub editor', 'lowly-user', 'authenticated']  # A list of user roles.
                password: 'test123!'         # The password to use for all test users.
                create: true                 # Whether to create all defined test users at the start of the suite.
                delete: true                 # Whether to delete all defined test users at the end of the suite.
                drush-alias: '@mysite.local' # The Drush alias to use when managing users via DrushTestUserManager.


## Acknowledgements

Props to [Andy Rigby](https://github.com/ixisandyr) for the storage code and inspiration.

Remove VCS declaration: module now available on Packagist.
Remove VCS declaration: module now available on Packagist.