dropfort / codeception-drupal
This package is abandoned and no longer maintained.
The author suggests using the guncha25/drupal-codeception package instead.
A module for Codeception that exposes the Drupal API to test suites.
dev-master
2020-07-06 17:59 UTC
Requires
- codeception/codeception: ^4.0
- codeception/module-webdriver: ^1.0.0
- hoa/console: ^3.17
- webflo/drupal-finder: ^1.2
Requires (Dev)
- mikey179/vfsstream: ^1.0
- phpspec/prophecy: ~1.3@dev
- squizlabs/php_codesniffer: ^2.1
Suggests
- dropfort/codeception-module-drupal-user-registry: A Codeception module for managing test users.
This package is auto-updated.
Last update: 2020-07-07 19:28:38 UTC
README
Usage
In your *.suite.yml
file, add Drupal
to your enabled modules list.
Example configuration
This will run tests under the assumption that your Drupal installation is in a
drupal
sub-directory.
class_name: AcceptanceTester modules:
enabled:
\Codeception\Module\Drupal8\Drupal8:
root: '../web'
relative: yes
Options
root
Accepts: string
Default: current working directory
This defines the Drupal root in relation to the codecept.yml
file. If this isn't passed in it defaults to the current working directory.
relative
Accepts: yes
or no
Default: no
This allows you to specify if the path to the drupal root is relative from the
codeception.yml
file. Accepts yes
or no
.