A simplified version of the laravel framework unit test
qiuqiu1999/junit-laravel is a Laravel package for a simplified version of the laravel framework unit test.
It currently has 1 GitHub stars and 3 downloads on Packagist (latest version 1.0).
Install it with composer require qiuqiu1999/junit-laravel.
Discover more Laravel packages by qiuqiu1999
or browse all Laravel packages to compare alternatives.
Last updated
Laravel >= 5.1 & PHP >= 7.1.3
composer require "qiuqiu1999/junit-laravel"
在config/app.php中进行服务注册
/*
|--------------------------------------------------------------------------
| Autoloaded Service Providers
|--------------------------------------------------------------------------
|
| The service providers listed here will be automatically loaded on the
| request to your application. Feel free to add your own services to
| this array to grant expanded functionality to your applications.
|
*/
'providers' => [
... ,
QiuQiu1999\JunitLaravel\Providers\JunitServiceProvider::class
],
Route::get('/', 'JunitController@index'); // 测试主页
Route::post('/', 'JunitController@store')->name('junit.store'); // 提交
MIT