The purpose of the app is to load products and its reviews from an external json resource and display a table product. Both Unit and Functional testing are implemented in this app.
$ cd /var/www/html
$ git clone [email protected]:hounaida/Hounaida-test.git hounaida-app
$ cd hounaida-app
$ composer install
In order to load the sample data, run the below commands:
$ cd /var/www/html/hounaida-app
$ php bin/console doctrine:fixtures:load
Enjoy! https://localhost/hounaida-app/web/app_dev.php/products
$ php ./vendor/bin/simple-phpunit tests/Unit
$ php ./vendor/bin/simple-phpunit tests/Fonctional