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.
composer require "mockery/mockery:0.9.x-dev"
| 包名 | 版本要求 |
|---|---|
| hamcrest/hamcrest-php | ~1.1 |
| lib-pcre | >=7.0 |
| php | >=5.3.2 |
| 包名 | 版本要求 |
|---|---|
| phpunit/phpunit | ~4.0 |
| 许可证 | BSD-3-Clause |
|---|---|
| 发布时间 | 2019-05-13 15:59:04 |
| 类型 | library |