Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/bmf-san/laravel-test-handson
- Owner: bmf-san
- License: mit
- Created: 2019-01-21T14:41:52.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-14T00:21:47.000Z (almost 2 years ago)
- Last Synced: 2024-10-04T20:51:37.367Z (about 1 month ago)
- Topics: feature-tests, handson, laravel, phpunit, test
- Language: PHP
- Homepage:
- Size: 27 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 24
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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/)