plugin development – PHPUnit Testing Installation Issue

Question

I’m trying to setup PHPUnit testing and thought I would begin with the basics. So using this tutorial
https://www.smashingmagazine.com/2017/12/automated-testing-wordpress-plugins-phpunit/

I have followed the steps and can confirm that I have PHPUnit 6.5.14 installed on a VM using PHP 7.4.3 & WP CLI 2.4.0

It looks like the process to install the test scripts isn’t creating the wordpress site. It creates the database but doesn’t populate it with tables. And no additional folders or files are added.

I have included a screenshot of the output from the termail from running the install-wp-test.sh command, using the same version of WP as which the main site uses.

Any help would be appreciated.

enter image description here

0
WilsonP 2 weeks 2022-11-17T20:34:00-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse