-
Before making any major changes to the ACF Field block plugin it makes sense to develop a set of _in situ_ PHPUnit tests that can be used to confirm that the server side rendering of the block is work…
-
I'm trying to record some HTTP requests generated by WordPress HTTP functions, such as [`wp_remote_post`](https://developer.wordpress.org/reference/functions/wp_remote_post/) and [`wp_remote_get`](htt…
-
## What problem does this address?
I'm attempting to configure wp-env with Xdebug for PhpStorm/IntelliJ. As I understand, this requires an IDE key for PhpStorm to make the connection with the Debu…
-
Various systems reset the stats array to an empty array, which deletes all of the keys, such as `'get'` and `'add'`. Common examples include:
* WordPress core's PHPUnit abstract testcase, in the `f…
-
# PHPUnit
1. Installing PHPUnit
https://phpunit.de/manual/current/ja/installation.html
1-1. wgetコマンドをインストール(PHPUnitのインストールで使用するため)
・Mac OS X - wgetコマンドをインストール(使えるようにする)
http://webk…
-
The current version of PHPUnit is now 8. We need to upgrade some code in order to support this version of PHPUnit. I believe this problem has already been resolved in WordPress. See https://core.tra…
-
Thanks again for the `wp-phpunit/wp-phpunit` package, it's very useful. Fingers crossed one day we might publish the test suite as a package from the official WordPress organisation.
In the meantim…
-
### Thanks for taking the time to fill out this bug report!"
- [X] I have searched the issue tracker for similar issues
- [X] I have verified that the issue is present when using the most recent vers…
-
This is an epic ticket to track ongoing roadmap to increase the PHP test suite parity with WordPress Core.
Updates:
* 17 Aug 2022: Initially created.
## Scope
WordPress Core' PHP tests:
-…
-
## Description
If a custom php version is set using the `phpVersion` property in the **.wp-env.json** file, the phpunit container will be provisioned using an image that includes phpunit version 8 or…