Running Shopware Platform tests on a Linux Dev-Machine

Participating in the Shopware Boost Day #4 today I tried the most simple approach to get it running on a Linux developer machine, avoiding the Docker setup. With some help from Shopware team I got it down to:

  1. Checkout the shopware/development repository
  2. Checkout the shopware/platform repository inside development repository
  3. Create a database "shopware" in MySQL (this might not be needed?)
  4. Run the bin/setup command

These steps in the terminal are:

cd development/
composer install
git clone platform
php bin/setup
php vendor/bin/phpunit -c platform

Note: These are the steps in March 2021 (during Shopware 6.4).

Published: 2021-03-11