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:

git git@github.com:shopware/development.git
cd development/
composer install
git clone git@github.com:shopware/platform.git platform
php bin/setup
php vendor/bin/phpunit -c platform

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

Sign up for my newsletter to get notified when I post new content on this blog and with the occasional exclusive content only for subscribers.

By clicking on the Subscribe button I am giving my consent for Benjamin Eberlei to hold my name and email address for the purposes of contacting me with a newsletter on the topics of this blog. You can unsubscribe with one click at any time and withdraw your consent. No spam. I will never share your e-mail address. Privacy Policy