This example contains:
- ddev Dev Setup
- PHPUnit Test Setup
Install ddev and the enter ddev start
in you CLI.
After the project start the hook script .ddev/hook_01_setup.sh
will try to install Magento in the started web container.
Installation requires that some variables, holding the Magento installation keys, are defined in your ddev config.
MAGENTO_REPO_USERNAME=<public-key>
MAGENTO_REPO_PASSWORD=<private-key>
The n98-magerun Test Framework is installed as dev dependency.
You can start the unit test by ddev exec vendor/bin/phpunit
.