Friday, November 18, 2022
HomeWordPress Developmentplugin growth - PHPUnit Testing Set up Difficulty

plugin growth – PHPUnit Testing Set up Difficulty


I am making an attempt to setup PHPUnit testing and thought I might start with the fundamentals. So utilizing this tutorial
https://www.smashingmagazine.com/2017/12/automated-testing-wordpress-plugins-phpunit/

I’ve adopted the steps and might affirm that I’ve PHPUnit 6.5.14 put in on a VM utilizing PHP 7.4.3 & WP CLI 2.4.0

It appears to be like like the method to put in the check scripts is not creating the wordpress website. It creates the database however would not populate it with tables. And no further folders or information are added.

I’ve included a screenshot of the output from the termail from working the install-wp-test.sh command, utilizing the identical model of WP as which the primary website makes use of.

Any assist could be appreciated.

enter image description here

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments