tddwizard / magento2-exercises
Test configuration files for magento2-dockerized setup and the Test Driven Magento exercises
Installs: 19
Dependents: 0
Suggesters: 0
Security: 0
Stars: 23
Watchers: 2
Forks: 1
Open Issues: 0
Type:magento2-component
Requires
- tddwizard/exercise-brands: dev-master@dev
- tddwizard/exercise-contact: dev-master@dev
This package is not auto-updated.
Last update: 2024-11-10 05:19:27 UTC
README
Exercises for the Test Driven Magento course. The exercise descriptions are in the Wiki
TDD Katas
To get started with TDD Katas (not Magento), refer to this tutorial: Get Ready for TDD Katas with PHPUnit + PhpStorm
Docker Dev Environment
If you use Docker, a Magento 2 dev environment which is suitable for tests, can be created as follows:
-
Install Magento via composer
composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition <installation directory name> --ignore-platform-reqs
More info: http://devdocs.magento.com/guides/v2.2/install-gde/prereq/integrator_install_ce.html
-
Install the dockerize-magento2 component
composer require --ignore-platform-reqs tddwizard/magento2-dockerized:@dev
-
Install the test configuration for the exercises:
composer require tddwizard/magento2-exercises:@dev
Or download and copy the files from
dev
in this repository manually intodev
of your Magento installation