oneshoe/drupal-codeception
最新稳定版本:1.0.0
Composer 安装命令:
composer require oneshoe/drupal-codeception
包简介
Extension to the Codeception toolset for Drupal testing.
README 文档
README
Extension to the Codeception toolset for Drupal testing.
Adding to your project
Require oneshoe/drupal-codeception:dev-master.
Configuring Codeception
To add to Codeception, make the following changes to your test suite files. The OSDrupalAcceptance depends on several other modules. These need to be added to the suite explicitly, and in the correct order, or they may not be found yet when they are needed.
acceptance.suite.yml
modules:
enabled:
- WebDriver
# Refer to https://codeception.com/docs/modules/WebDriver for
# configurarion instructions.
# ...
- DrupalDrush
- DrupalAcceptance
- OSDrupalAcceptance:
rootUser: [name of the root (uid 1) user]
rootPassword: [password for that user]
Development
For development you can use Lando. Start Lando with lando start. Then
install a development environment by running run lando composer install and
lando clean-install. Run the test suite (verifying the Codeception module)
using lando codecept (this is just a way to running the regular codecept
command within Lando).
统计信息
- 总下载量: 12.44k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0
- 更新时间: 2022-01-24