没有合适的资源?快使用搜索试试~ 我知道了~
simple-php-unit-test:一个简单PHP单元测试框架
共8个文件
php:2个
gemfile:1个
license:1个
需积分: 10 0 下载量 165 浏览量
2021-05-04
23:08:27
上传
评论
收藏 10KB ZIP 举报
温馨提示
简单PHP单元测试 用法 包含主文件 include ( '../simple-php-unit-test/simple-php-unit-test.php' ); function a_function_to_be_test ( $ input ){ if ( $ input === 'hello' ){ return true ; } else { return false ; } } $ spec = new SimplePHPUnitTest (); $ spec -> describe ( 'a_function_to_be_test input hello should be true' , function (){ $ r = a_function_to_be_test ( 'hello' ); expect ( $ r )-> to_equal ( tru
资源推荐
资源详情
资源评论
收起资源包目录
simple-php-unit-test-master.zip (8个子文件)
simple-php-unit-test-master
Gemfile 41B
Guardfile 239B
simple-php-unit-test.php 2KB
LICENSE 18KB
composor.json 157B
README.md 923B
sample-test.php 692B
Gemfile.lock 807B
共 8 条
- 1
资源评论
FranklinZheng
- 粉丝: 26
- 资源: 4567
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功