How to run Behat tests in WP-CLI?

How to run Behat tests in WP-CLI.

Steps to follow:

  1. Clone the repo
  2. Run - compser install
  3. Make DB - wp_cli_test
  4. Give Privilege - grant all privileges on . to wp_cli_test@localhost identified by 'password1' with grant option;
  5. Run behat command

Watch the video for instructions https://youtu.be/ZLtCvjy8cX8

0
Subscribe to my newsletter

Read articles from Bhargav Bhandari directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Bhargav Bhandari
Bhargav Bhandari

Want to teach Coding to all. Just Another #WordPress Developer ;) at @BuddyBossWP YouTuber | Blogger | Educator | #Master | Non-Judgmental