承接 julianstark999/laravel-tests-generator 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

julianstark999/laravel-tests-generator

Composer 安装命令:

composer require julianstark999/laravel-tests-generator

包简介

laravel-tests-generator

README 文档

README

Social Card of Laravel Tests Generator

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

Create all missing Tests

This Laravel package provides a command to automatically generate all missing tests

Installation

You can install the package via composer:

composer require julianstark999/laravel-tests-generator

You can publish the config file with:

php artisan vendor:publish --provider="JulianStark999\LaravelTestsGenerator\LaravelTestsGeneratorServiceProvider" --tag="laravel-tests-generator-config"

This is the contents of the published config file:

return [
    'directories' => [
        'actions' => 'Actions',
        'commands' => 'Console\Commands', 
        'enums' => 'Enums', 
        'exceptions' => 'Exceptions', 
        'helper' => 'Helper', 
        'controllers' => 'Http\Controllers', 
        'middleware' => 'Http\Middleware', 
        'requests' => 'Http\Requests', 
        'resources' => 'Http\Resources', 
        'jobs' => 'Jobs', 
        'mail' => 'Mail', 
        'models' => 'Models', 
        'notifications' => 'Notifications', 
        'observers' => 'Observers', 
        'providers' => 'Providers', 
        'rules' => 'Rules', 
        'services' => 'Services', 
        'traits' => 'Traits', 
        'views' => 'View',
    ],
];

Usage

Commands

tests-generator {--dir=*}

The tests-generator command generates missing tests

php artisan tests-generator {--dir=*}

# example
php artisan tests-generator --dir=controllers 

See the configuration file example or publish it yourself for all available dirs

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

  • 总下载量: 17
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-03-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固