A very simple code challenge about Testing in Laravel
Note: Make sure you have composer installed or you may downlaod composer at => https://getcomposer.org/download/
- git clone
- Open the console and cd into your project root directory
- Create your database
- Rename .env.example file to .env inside your project root
- Update .env with your database information.
- Run composer install or php composer.phar install
- Run php artisan key:generate
- Run php artisan migrate
- Run php artisan db:seed to run seeders (Incase of an error run => composer dump-autoload)
- Run php artisan serve
Project Url: http://localhost:8000
To all the tests, run the command below;
vendor/bin/phpunit