Looking to hire Laravel developers? Try LaraJobs

sjunit-laravel maintained by vierhang

Description
A simplified version of the laravel framework unit test
Author
Last update
2020/04/24 11:20 (dev-master)
License
Links
Downloads
3

Comments
comments powered by Disqus

框架要求

Laravel >= 5.1

安装

$ composer require vierhang/junit-laravel

配置

Laravel应用

在 config/app.php 注册 ServiceProvider 和 Facade (Laravel 5.5 无需手动注册)

'providers' => [ Vierhang\JunitLaravel\Providers\SJunitServiceProvider::class, ]

然后在浏览器中直接访问路由

Route::get('/', 'SJunitController@index'); Route::post('/', 'SJunitController@store')->name('junit.store');

License

MIT