phpmockfunction是一个API,嘲弄的PHP函数ALA jMock
- 资源大小:2.21 kB
- 上传时间:2021-06-29
- 下载次数:0次
- 浏览次数:1次
- 资源积分:1积分
-
标 签:
php
api
函数
一个
嘲弄
资 源 简 介
PHPMockFunction provides a set of APIs for setting expectations on php functions (whether previously defined or newly defined).
It uses the PECL runkit extension as a means to redefine existing functions, and allows users to set return values or throw exceptions based on passed in arguments.
Instructions can be found here:
http://www.workhabit.com/labs/mock-function-testing-drupal
文 件 列 表
PHPMockFunction
Expectation.php
Matcher.php
PHPMockFunction.php
WillAction.php