xwp / wordpress-tests-installer
Handles installing the WordPress PHPUnit test suite with composer
Installs: 44 137
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 3
Forks: 3
Open Issues: 2
Type:composer-plugin
Requires
- composer-plugin-api: ^1 || ^2
Requires (Dev)
- composer/composer: ^1 || ^2
This package is auto-updated.
Last update: 2024-10-28 08:58:54 UTC
README
A custom Composer plugin to install the WordPress Core PHPUnit test suite inside the vendor
directory.
Usage
To add the WordPress Core PHPUnit test suite, add the following to your package's composer file:
"require": {
"xwp/wordpress-tests-installer": "dev-master"
}
If you require a specific WordPress Core version, other than the latest stable release, you'll need to create a .env
file in the root of your project and add the following:
WP_VERSION=4.9.4
When used with Travis CI you will need to add the environment variable to the config file or through the web UI.
License
This code is licensed under the MIT license.