-
Until now, we've relied on 2 packages to help us with unit tests inside our PHP packages:
- https://github.com/Automattic/wordbless
- https://github.com/Brain-WP/BrainMonkey
While those 2 options…
-
In #1 I've developed PHPUnit tests that run in situ under oik-batch, with wordpress-develop-tests.
Most core developers don't expect to have to use oik-batch.
It would be better for other contribu…
-
In https://herbmiller.me/requirements-for-permalink-postname/ I've documented my requirements for a permalink structure of `/%postname%/`.
The above (perma)link applies to both a page and a post. …
-
## Description
It would be amazing to run `PHPUnit` tests using WordPress Playground:
* Testing on PHP 5.6 - 8.2 would be as easy as choosing a different PHP.wasm binary shipped in this repo
* …
-
It would be good to execute a set of unit/integration tests via the plugin to verify behavior.
https://wordpress.stackexchange.com/questions/129838/implement-phpunit-testing-on-a-plugin
https:/…
-
In https://github.com/WordPress/phpunit-test-runner/pull/134 we are adding the collection of environmental data about the GD/Imagick support of the tested environment.
We should display that data …
-
WordPress's test suite was incompatible with PHPUnit 6, so we have been manually installing PHPUnit 5.7 on Travis when needed. However, a [compatibility shim has been added](https://core.trac.wordpres…
-
### Description
I'm having issue getting wp-env running on a fresh Mac Sonoma install using Docker Desktop.
```
wp-env start
⚠ Warning: could not find a .wp-env.json configuration file and cou…
-
For some time now I've been ignoring a load of notices issued while running oik-batch.
Now they've prevented my PhpUnit tests for oik from running.
Raising here since I've got to pick somewhere.
…
-
The test suite should be integrated with the repo such that it is run on every feature branch and the main branch whenever new changes are pushed. Write a few sample tests.
Resources:
- https://ww…