gammamatrix / playground-test
游乐场:Playground Laravel 包的测试助手。
dev-develop
2024-07-30 17:37 UTC
Requires
- php: ^8.2
- brianium/paratest: ^7.4
- fakerphp/faker: ^1.23
- friendsofphp/php-cs-fixer: ^3.41
- gammamatrix/playground: *
- larastan/larastan: ^2.0
- laravel/sanctum: ^4.0
- nunomaduro/collision: ^8.0
- orchestra/testbench: 9.*
- phpstan/phpstan-phpunit: ^1.3
- phpunit/phpunit: ^11.0
- timacdonald/log-fake: ^2.2
This package is auto-updated.
Last update: 2024-09-30 17:56:55 UTC
README
Playground Test 包。
此包利用 PHPUnit 和基于 Laravel 的测试用例。
安装
您可以通过 composer 安装此包
composer require --dev gammamatrix/playground-test
配置
您可以使用以下命令发布配置文件
php artisan vendor:publish --provider="Playground\Test\ServiceProvider" --tag="playground-config"
查看发布的配置文件内容:config/playground-test.php
环境变量
有关此包的环境变量信息可在维基页面上找到:环境变量
Cloc
composer cloc
➜ playground-test git:(feature/GH-34) composer cloc
> cloc --exclude-dir=output,vendor .
158 text files.
93 unique files.
66 files ignored.
github.com/AlDanial/cloc v 1.98 T=0.15 s (615.0 files/s, 67029.5 lines/s)
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
PHP 84 1767 2117 5473
XML 4 0 15 294
YAML 1 5 0 275
Markdown 3 35 0 88
JSON 1 0 0 67
-------------------------------------------------------------------------------
SUM: 93 1807 2132 6197
-------------------------------------------------------------------------------
PHPStan
在第 9 级别进行测试
config/
database/
resources/
src/
tests/Feature/
tests/Unit/
composer analyse
编码规范
composer format
测试
composer test
变更日志
有关最近更改的更多信息,请参阅 CHANGELOG
致谢
许可协议
MIT 许可协议 (MIT)。有关更多信息,请参阅 许可文件