定制 lion/test 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

lion/test

最新稳定版本:v4.1.0

Composer 安装命令:

composer require lion/test

包简介

Library to implement testing with helpers that allow easy testing with PHPUnit.

README 文档

README

presentation-lion-packages

Latest Stable Version Total Downloads License PHP Version Require

???? 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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固