valorin / vest
Valorin's Test Suite Artisan Command for Laravel 4.
Requires
- php: >=5.3.0
- benconstable/phpspec-laravel: ~1.0
- illuminate/support: ~4.2|~5.0
- jakub-onderka/php-console-highlighter: *
- jakub-onderka/php-parallel-lint: *
- phpmd/phpmd: *
- phpspec/phpspec: ~2.0
- phpunit/phpunit: *
- sensiolabs/security-checker: *
- squizlabs/php_codesniffer: *
This package is auto-updated.
Last update: 2024-10-08 20:13:09 UTC
README
Valorin's Test Suite Artisan Command for Laravel 4.
IMPORTANT: Vest does not support Laravel 5, and I don't think there is enough interest or benefit in it for me to do so.
Vest is a simple package I wrote to allow me to re-use my Laravel 4 test suite across all of my projects without needing to worry about keeping it in sync.
I've made very little effort to make it massively customizable, since it's designed by me, for me. If it doesn't work for you, either write your own or submit a pull request with changes and we can discuss your needs :-)
Installation
Add the package to your application with composer:
composer require valorin/vest
Add the VestServiceProvider
service provider to the providers
list in ./app/config/app.php
:
'providers' => array(
...
'Valorin\Vest\VestServiceProvider',
),
Publish the default configuration:
./artisan config:publish valorin/vest
Edit the configuration file at:
config/packages/valorin/vest/config.php
Usage
Run the vest
command in the testing
environment:
./artisan --env=testing vest
Version History
- v1.2.0
- Disabled default configuration to support config merging changes.
- Added in --quiet option to mute extra outputs.
- Laravel 5 support.
- v1.1.0
- Removed legacy 'createdb' command.
- Supporting Laravel 5
- v1.0.0
- Initial Release