定制 s1ptex/uniter 二次开发

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

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

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

GitHub 信息

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

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2023-07-22