Tests determine the quality of a software. This process involves evaluating information that is related to a shop.
To make testing easier, we provide a Vagrant configuration designed for testing branches and pull requests.
First of all you need two tools to run this project:
If you’re using Windows, we recommend you to download Git bash and execute all commands under this shell.
We use Vagrant because of its flexibility and portability. With it, you can control every aspect of the machine, and help us by having a similar environment to reproduce issues.
The process is pretty simple.
First, you must clone the repository https://github.com/PrestaShop/vagrant.
Second, execute the script
run.bat if you’re under Windows) and follow instructions.
Most of the time, there is a prompt asking for a network interface, remember it’s the communication between the virtual machine and the network card.
The first installation will take a while, because it needs to download the vagrant box, installs all needed packages and configures the system to make it compatible with PrestaShop.
Then, visit http://192.168.42.42/prestashop.
phpMyAdmin is also available at http://192.168.42.42/phpmyadmin.
phpMyAdmin is available at http://192.168.42.42/phpmyadmin.
You can login into the virtual machine with
If something went wrong during the installation, the error is displayed explaining which command is failing.
Invalid branch name:
Invalid PHP version: