heykarthikwithu/codeception

There is no license information available for the latest version (7.x-dev) of this package.

A drupal application with codeception integration.

7.x-dev 2017-03-01 11:44 UTC

This package is not auto-updated.

Last update: 2024-04-22 13:40:15 UTC


README

A Drupal application with Codeception integration and PhantomanJS.

Initially do a composer update, which would get the drupal codebase locally.

$ composer update

Then to get the codeception to be bootstrapped.

$ php vendor/bin/codecept bootstrap

Then add the phantoman congifuration in the codeception.yml file.

extensions:
    enabled:
        - Codeception\Extension\Phantoman
    config:
       Codeception\Extension\Phantoman:
            path: 'vendor/bin/phantomjs'
            port: 4444
            suites: ['acceptance']

Then run the test cases.

$ php vendor/bin/codecept run