s1ptex/uniter
Composer 安装命令:
composer require s1ptex/uniter
包简介
A package for quickly creating Unit tests
README 文档
README
Instalation
composer require s1ptex/uniter
Usage
First you need to create a cortege of testsв
$Cortege = new \S1ptex\Uniter\Cortege("Test cortege");
Now add test
$Cortege->add("One plus One is Two", function(\S1ptex\Uniter\Test $test){ $test->assert(1+1 === 2); });
Print cortege
$Cortege->execute();
Let's run
php8.1 name_of_file.php
统计信息
- 总下载量: 5
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2023-07-22