Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
You can set up a development virtual machine for ZF1 unit testing and library development following these simple instructions.
git clone git://github.com/zendframework/zf1.git zf1-dev cd zf1-dev
vagrant up
This will take a long while as it has to download a VM image and then provision it. Once it has finished, it will exit and leave you back at the command prompt.
vagrant ssh
php-build.sh 5.3.11
This also takes a while as it compiles PHP for you!
pe 5.3.11
cd /vagrant/tests phpunit --stderr -d memory_limit=-1 Zend/Acl/AclTest.php phpunit --stderr -d memory_limit=-1 Zend/Amf/AllTests.php (etc...)
Note that you can repeat items 5 and 6 to create any version if PHP.
To stop the VM do one of the following:
vagrant suspend # if you plan on running it later vagrant halt # if you wish to turn off the VM, but keep it around vagrant destroy # if you wish to delete the VM completely
Also, when any of of the Puppet manifests change (.pp files), it is a good idea to rerun them:
vagrant provision