rtens/mockster
Composer 安装命令:
composer require rtens/mockster
包简介
PHP Mocking framework
README 文档
README
mockster is a full-fledged, zero-configuration mocking framework for PHP.
Main Features
- Automatic mocking of dependencies, return values, method and constructor arguments
- Support of Four-Phase testing by defining the context first and asserting expectations second
- Fine-grained configuration of the behaviour
Installation
To use mockster in your project, require it with Composer
composer require "rtens/mockster"
If you would like to develop on mockster, clone it with git, download its dependencies with Composer and execute the specification with scrut
git clone https://github.com/rtens/mockster.git
cd mockster
composer update
vendor/bin/scrut
Documentation
You can find all documentation in form of executable specification.
Contribution
I'm looking forward to any kind of contribution including feedback about how unnecessary this project is, bugs and suggestions for missing features. Just open a new issue or check out the open issues.
统计信息
- 总下载量: 4.09k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 12
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2012-10-10