FAQs

If you are new to the project or Behat, we recommend that you first read through our documentation. For any questions, feedback, or to contribute, you can get in contact with us via Github or our Slack.

Virtual machines (Vagrant)

  • If you are using a Vagrant-powered virtual machine to run Behat via the WP-CLI driver, you will need to vagrant ssh into the box once. This will set up password-less authentication; otherwise, WordHat will prompt you for the SSH password frequently.

Drivers

Browsers

  • If you are using Selenium to run Javascript tests, and you access your WordPress site over HTTPS, and it has a self-signed certificate, you will need to manually configure the web browser to accept that certificate.

Selenium

Supported platforms

  • WordHat supports MacOS, most flavours of Linux, and Windows. We use Travis-CI and Appveyor to test on Ubuntu and Windows, respectively, and require modern versions of PHP.

WordPress

  • If your WordPress is installed in a subdirectory, you need to set the site_url option to the value of the “WordPress address (URL)” option (found in WordPress > Settings > General). For more information, consult the WordHat documentation.