This project is for case study for learning integration test in Laravel. For the tutorial (in Bahasa Indonesia), you can see it in here
Installation
composer install
- Setup
.env
, make sure you use different database inDB_CONNECTION
andDB_CONNECTION_TEST
php artisan migrate --seed --database=mysql_test
to initialize tables in testing db
Testing
- Run
vendor/bin/phpunit