You can download a built package from releases page and install it on your WordPress sites by uploading the zip file.
- Docker
To enter the development workspace, run the following command from the root of the repository:
dev-workspace/runFrom inside the dev-workspace you can run the build or any other composer script. Check composer help for a list of available commands.
composer update
composer buildcomposer build:jscomposer build:langdev-workspace/run composer build- Docker
- PHP
- Composer
Tests will run inside docker containers, but all the commands below should be executed outside the dev-workspace.
Before running any test you need to start the test container:
composer test:upFor stopping, you can use:
composer test:downTest files will be cached inside the dev-workspace/.cache directory.
Only Unit and Integration tests are healthy for now. You might find other types of tests but they need refactoring.
composer test:allcomposer test Unitcomposer test IntegrationYou also can run specific test file:
composer test tests/Unit/Framework/HooksTest.phpAnd for running only a specific test:
composer test tests/Unit/Framework/HooksTest.php:testAddActionYou can run any codeception command by executing:
composer codecept <commands>License: GPLv2 or later