Skip to content

Latest commit

 

History

History
22 lines (19 loc) · 469 Bytes

testing.md

File metadata and controls

22 lines (19 loc) · 469 Bytes

Testing

Setup test environment:

$ composer install
$ cd tests/Application
$ yarn install
$ yarn build
$ bin/console assets:install public -e test
$ bin/console doctrine:database:create -e test
$ bin/console doctrine:schema:create -e test
$ bin/console server:run 127.0.0.1:8080 -d public -e test
$ sudo service elasticsearch start

Run the tests (from project root)

$ vendor/bin/phpspec run
$ vendor/bin/phpunit
$ vendor/bin/behat --strict