cheppers/drupal-behat-contexts

Drupal Extension相关上下文

v3.0.1 2023-11-27 11:48 UTC

This package is auto-updated.

Last update: 2024-08-27 13:17:35 UTC


README

入门

  1. 运行 git clone https://github.com/Cheppers/drupal-behat-contexts.git
  2. 运行 cd drupal-behat-contexts
  3. 运行 composer install
  4. 运行 composer run drupal:install
  5. 运行 chrome --headless --remote-debugging-port=9222
  6. 运行 cd tests/fixtures/project_01/docroot && php -S localhost:8888 .ht.router.php
    • 如果端口号8888已被占用,请更改为其他端口号。在这种情况下,您还需要在tests/behat/behat.local.yml:5中更改它!
  7. 运行 cd "$(git rev-parse --show-toplevel)"
  8. 运行 cd tests/behat && phpdbg -qrr ../../bin/behat --config=behat.yml --strict --colors --verbose