- 授权协议: MIT
- 开发语言: PHP
- 操作系统: 跨平台
- 软件首页: https://github.com/Codeception/AspectMock
- 软件文档: https://github.com/Codeception/AspectMock
软件介绍
AspectMock 不是一个普通的 PHP 模拟测试框架,通过强大的 AOP 面向方面编程理念和神奇的 Go-AOP 库, AspectMock 可以让你在 PHP 代码中进行任意的模拟测试。
示例代码:
<?php
function testUserCreate()
{
$user = test::double('User', ['save' => null]));
$service = new UserService;
$service->createUserByName('davert');
$this->assertEquals('davert', $user->getName());
$user->verifyInvoked('save');
}
?>
Programming in Haskell
Graham Hutton / Cambridge University Press / 2007-1-18 / GBP 34.99
Haskell is one of the leading languages for teaching functional programming, enabling students to write simpler and cleaner code, and to learn how to structure and reason about programs. This introduc......一起来看看 《Programming in Haskell》 这本书的介绍吧!
RGB转16进制工具
RGB HEX 互转工具
MD5 加密
MD5 加密工具
