This application emulates work with Vending Machine. Written on pure PHP with PHPUnit tests.
Installed Composer
- Clone this project:
git clone https://github.com/eeonevision/phpvendingmachine.git - Move to the project directory (or import it in any PHP IDE)
- Run command for install libs and initialize project:
composer install - Run PHPUnit tests:
vendor/bin/phpunit
Attention! If you try to execute tests from GUI in Idea IDE, you need to change relative paths to JSON files in folder
Content. In command mode (described in good start instruction) all is works as expected.