Download the PHP package sofa/laravel-test-generator without Composer
On this page you can find all versions of the php package sofa/laravel-test-generator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sofa/laravel-test-generator
More information about sofa/laravel-test-generator
Files in sofa/laravel-test-generator
Package laravel-test-generator
Short Description Don't write boilerplate for your feature tests in a Laravel project
License MIT
Homepage https://github.com/jarektkaczyk/laravel-test-generator
Informations about the package laravel-test-generator
Laravel feature test generator
Don't write boilerplate for your feature tests! This package scans all the routes in your Laravel app and generates skeleton for testing them.
Installation
You can install the package via composer:
You can publish the config file with and customize it afterwards in config/test_generator.php
:
Usage
Roadmap
- [x] support for PHPUnit driver
- [x] generate new test classes
- [x] bare happy path case
- [x] bare failing path case
- [ ] parse route model binding and build setup for tests accordingly
- [ ] (OPTIONAL) parse requests and build setup for tests accordingly - might be too complex in many cases
- [ ] (OPTIONAL) update existing test classes with new methods (not trivial with
nette/php-generator
, find better way?)
- [x] support for different drivers
- [ ] (OPTIONAL) other drivers
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Jarek Tkaczyk
- All Contributors
License
The MIT License (MIT). Please see License File for more information.