fujiangsun/sunit-laravel

A simplified version of the laravel framework unit test

Downloads

3

Stars

0

Version

v1.0

sunit-laravel

一个能快速测试类方法的测试工具

框架要求

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:

  1. File bug reports using the issue tracker.
  2. Answer questions or fix bugs on the issue tracker.
  3. 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

FujiangSun

Author

FujiangSun