Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bmf-san/laravel-test-handson

This is handson for feature test of laravel
https://github.com/bmf-san/laravel-test-handson

feature-tests handson laravel phpunit test

Last synced: 21 days ago
JSON representation

This is handson for feature test of laravel

Awesome Lists containing this project

README

        

# laravel-test-handson
This is a handson for feature test of laravel.

# Get Started
```
docker-compose build
docker-compose up -d
docker exec -it php /bin/sh -c "cp .env.example .env"
docker exec -it php /bin/sh -c "composer install"
docker exec -it php /bin/sh -c "npm cache verify && npm install"
docker exec -it php /bin/sh -c "php artisan key:generate"
docker exec -it php /bin/sh -c "php artisan migrate && php artisan db:seed"
```

Add hosts settings to /etc/hosts
```
127.0.0.1 laravel-test-handson
```

# Run tests
`composer test`

# License
This project is licensed under the terms of the MIT license.

# Author
bmf - A Web Developer in Japan.
* [@bmf-san](https://twitter.com/bmf_san)
* [bmf-tech](http://bmf-tech.com/)