Skip to content

Load products and reviews from an external json file and display them.

Notifications You must be signed in to change notification settings

hounaida/Hounaida-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Dec 23, 2018
3c426bf · Dec 23, 2018

History

9 Commits
Dec 23, 2018
Dec 23, 2018
Dec 23, 2018
Dec 23, 2018
Dec 23, 2018
Dec 23, 2018
Dec 23, 2018
Dec 23, 2018
Dec 23, 2018
Dec 23, 2018
Dec 23, 2018
Dec 23, 2018

Repository files navigation

Description

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.

Setup the project

$ cd /var/www/html
$ git clone git@github.com:hounaida/Hounaida-test.git hounaida-app
$ cd hounaida-app
$ composer install

Load fixtures

In order to load the sample data, run the below commands:

$ cd /var/www/html/hounaida-app
$ php bin/console doctrine:fixtures:load

Enjoy! http://localhost/hounaida-app/web/app_dev.php/products

Run Unit & functional testing

Unit testing

$ php ./vendor/bin/simple-phpunit tests/Unit

Functional testing

$ php ./vendor/bin/simple-phpunit tests/Fonctional

About

Load products and reviews from an external json file and display them.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published