dev-master
9999999-devA Laravel 4 helper command for organizing and running phpunit testsuites
The Requires
- php >=5.3.0
- illuminate/support 4.0.x
- illuminate/console 4.0.x
The Development Requires
by Ryan Tablada
laravel tdd testing lpm
A Laravel 4 helper command for organizing and running phpunit testsuites
This package helps you to organize your tests into smaller testsuites to speed up unit testing in Laravel without having to resort to a heavier testing framework like codeception., (*1)
Simply create a folder within your tests folder and name it what you whatever you want.
For a unit
testsuite, I would create a unit
folder and run the suite using art test unit
.
It's that simple!, (*2)
If you have Laravel 4 Package Installer installed you can install Laravel 4 Testsuites by running php artisan package:install rtablada/laravel-testsuites
., (*3)
If you do not have Pacakge Installer, you can install Wardrobe Disqus by running composer require rtablada/laravel-testsuites
and then modifying your providers
in app/config/app.php
to include Rtablada\Testsuites\TestsuitesServiceProvider
., (*4)
Laravel 4 Testsuites gives you two options when running tests:, (*5)
php artisan test
- Runs all of your tests a shorthand for running phpunitphp artisan test suiteName
- Runs all of the tests within a folder with suiteName
within your tests directory in a standard Laravel 4 installation.A Laravel 4 helper command for organizing and running phpunit testsuites
laravel tdd testing lpm