This is a starting point for setting up behat testing for a Drupal project and then automatically running those tests using Probo.Ci.
- Copy the tests directory to your project root.
- If your project is using Drupal 8, add the following line to the
require section of the composer.json file:
"guzzlehttp/guzzle" : "^6.0@dev"
- Follow the instructions in tests/README.md. For customizing or troubleshooting, refer to the Behat Drupal Extension docs.
- Refer to the probo.ci docs for setting up your Drupal site on probo.
- Copy the
Run behat tests
step in the .probo.yaml file of this project into the.probo.yaml
file in the root of your project. For an even quicker start, you could copy the whole.probo.yaml
to your project and then modify it as necessary.