lion/test
最新稳定版本:v4.1.0
Composer 安装命令:
composer require lion/test
包简介
Library to implement testing with helpers that allow easy testing with PHPUnit.
关键字:
README 文档
README
🚀 Lion-Test library to implement testing with helpers that allow easy testing with PHPUnit.
📖 Features
✔️ Easy-to-use assertions beyond the default PHPUnit set.
✔️ Custom helper functions for common test patterns.
✔️ Integration with PHPUnit for seamless test execution.
📦 Installation
Install the test using Composer:
composer require --dev phpunit/phpunit lion/test
Usage Example
<?php declare(strict_types=1); namespace Tests; use Lion\Test\Test; use PHPUnit\Framework\Attributes\Test as Testing; class ExampleTest extends Test { protected function setUp(): void { $this->initReflection(new ExampleController()); } #[Testing] public function example(): void { $this->assertPropertyValue('id', 1); } }
📝 License
The test is open-sourced software licensed under the MIT License.
统计信息
- 总下载量: 7.47k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 14
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-11-19