Skip to content

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages