Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 617 Bytes

05-testing.md

File metadata and controls

29 lines (23 loc) · 617 Bytes

BitBag SyliusWishlistPlugin

Testing

$ composer install
$ cd tests/Application

Copy package.json.~1.xx.dist file to package.json for specific version of Sylius (example for 1.12.0):

$ cp package.json.\~1.12.dist package.json

Then:

$ yarn install
$ yarn dev
$ APP_ENV=test bin/console assets:install public
$ APP_ENV=test bin/console doctrine:schema:create
$ cd ../..
$ APP_ENV=test symfony server:start --port=8080 --dir=tests/Application/public --daemon
$ open https://localhost:8080
$ vendor/bin/behat
$ vendor/bin/phpspec run