mockery/mockery 1.0

Mockery is a simple yet flexible PHP mock object framework for use in unit testing with PHPUnit, PHPSpec or any other testing framework. Its core goal is to offer a test double framework with a succinct API capable of clearly defining all possible object operations and interactions using a human readable Domain Specific Language (DSL). Designed as a drop in alternative to PHPUnit's phpunit-mock-objects library, Mockery is easy to integrate with PHPUnit and can operate alongside phpunit-mock-objects without the World ending.

library BSD-3-Clause
安装
composer require "mockery/mockery:1.0"
依赖
包名版本要求
hamcrest/hamcrest-php ~2.0
lib-pcre >=7.0
php >=5.6.0
开发依赖
包名版本要求
phpunit/phpunit ~5.7|~6.1
版本详情
许可证BSD-3-Clause
发布时间2017-10-06 16:20:43
类型library