且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

PHP致命错误:尝试运行测试样本时找不到类"WP_UnitTestCase"

更新时间:2023-11-15 20:42:10

最终需要为Windows安装SVN.还必须将mysqladmin.exe路径添加到PATH环境变量中.然后最后需要这个:

Ended up needing to install SVN for windows. Also had to add the mysqladmin.exe path to the PATH environment variable. Then finally needed this :

https://wordpress.stackexchange .com/questions/249402/error-when-setting-up-phpunit-tests-with-wp-cli-scaffold

经过这三个小时!我知道它能正常工作!

And after all that and 3 hours! I got it to work correctly!

希望这对其他人有帮助.

Hope this helps someone else.