cheppers / drupal-behat-contexts
Drupal Extension相关上下文
v3.0.1
2023-11-27 11:48 UTC
Requires
- php: >=8.1
- ext-pcre: *
- cweagans/composer-patches: ^1.7
Requires (Dev)
- ext-json: *
- ext-sqlite3: *
- behat/mink: ^1.10
- behat/mink-browserkit-driver: ^2.1
- behat/mink-goutte-driver: ^2.0
- composer/installers: ^2.2
- dmore/behat-chrome-extension: ^1.1
- drevops/behat-screenshot: ^1.2
- drupal/bartik-bartik: ^1.0
- drupal/classy: ^1.0
- drupal/commerce: ^2.36
- drupal/commerce_shipping: ^2.6
- drupal/core-composer-scaffold: ^10.0
- drupal/core-recommended: ^10.0
- drupal/drupal-extension: ^5.0
- drupal/seven: ^1.0
- drush/drush: ^12
- nuvoleweb/drupal-behat: ^1.3
- oomphinc/composer-installers-extender: ^2.0
- phpunit/phpunit: ^9.5 | ^10.4
- squizlabs/php_codesniffer: ^3.2
- symfony/phpunit-bridge: ^6.0
This package is auto-updated.
Last update: 2024-08-27 13:17:35 UTC
README
入门
- 运行
git clone https://github.com/Cheppers/drupal-behat-contexts.git
- 运行
cd drupal-behat-contexts
- 运行
composer install
- 运行
composer run drupal:install
- 运行
chrome --headless --remote-debugging-port=9222
- 运行
cd tests/fixtures/project_01/docroot && php -S localhost:8888 .ht.router.php
- 如果端口号
8888
已被占用,请更改为其他端口号。在这种情况下,您还需要在tests/behat/behat.local.yml:5
中更改它!
- 如果端口号
- 运行
cd "$(git rev-parse --show-toplevel)"
- 运行
cd tests/behat && phpdbg -qrr ../../bin/behat --config=behat.yml --strict --colors --verbose