Operations Experience Project
  • Operations Experience Project
  • OX: Operator Experience
    • Good OX
  • Site Runner
    • GitOps Hosting
  • Tools
    • Site Module & Site Manager
    • ash: Drush Alias Shell
    • Drush Behat Params
Powered by GitBook
On this page
Edit on GitHub
  1. Tools

Drush Behat Params

Zero-config behat command using Drush.

Previousash: Drush Alias Shell

Last updated 1 year ago

To use behat, you have to tell it where your code is and what URL it's running under.

This is very difficult when you have dynamic environments, such as when running pull requests.

This package provides a drush behat command that automatically sets the BEHAT_PARAMS environment variable to use the file path and URL that Drush itself is using.

With this command, you can even run behat tests remotely using drush aliases, including on hosted platforms like pantheon.

GitHub - operations-platform/drush-behat-params: A basic drush command that calls behat with BEHAT_PARAMS with URL, root and drush alias set automatically.GitHub
Behat tests running in CI environments using GitHub runners.
Logo