dropfort / codeception-drupal
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
用法
在你的 *.suite.yml
文件中,将 Drupal
添加到你的启用模块列表中。
示例配置
这将假设你的 Drupal 安装在 drupal
子目录下运行测试。
class_name: AcceptanceTester modules:
enabled:
\Codeception\Module\Drupal8\Drupal8:
root: '../web'
relative: yes
选项
root
接受: string
默认: 当前工作目录
这定义了相对于 codecept.yml
文件的 Drupal 根目录。如果不提供,则默认为当前工作目录。
relative
接受: yes
或 no
默认: no
这允许你指定 drupal 根目录的路径是否相对于 codeception.yml
文件。接受 yes
或 no
。