fujiangsun / sunit-laravel
A simplified version of the laravel framework unit test
v1.0
2019-08-14 07:34 UTC
This package is auto-updated.
Last update: 2024-04-22 08:52:22 UTC
README
一个能快速测试类方法的测试工具
框架要求
Laravel >= 5.1 & php >= 7.1.3
Installing
$ composer require fujiangsun/sunit-laravel -vvv
配置方式
5.5手动配置laravel对于FuJiangSun\SunitLaravel\Providers\SUnitServiceProvider::class服务放到config/app.php中
##解释路由
<?php Route::get('/', 'JunitController@index'); Route::post('/', 'JunitController@store')->name('junit.store'); ?>
Contributing
You can contribute in one of three ways:
- File bug reports using the issue tracker.
- Answer questions or fix bugs on the issue tracker.
- Contribute new features or update the wiki.
The code contribution process is not very formal. You just need to make sure that you follow the PSR-0, PSR-1, and PSR-2 coding guidelines. Any new code contributions must be accompanied by unit tests where applicable.
License
MIT