首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > PHP > 独立的PHP 5模拟对象库,基于jMock

独立的PHP 5模拟对象库,基于jMock

资 源 简 介

Yay! Mock A standalone mock object library for PHP 5 (based on jMock) Yay! Mock aims to be a test framework-independent mock object library with the most flexibility possible. Based on jMock (Java) it makes expectations based on Invocation signatures rather than just on method names and/or call timings. Mock objects only contain the methods of the original type they mock. In other words, mock objects created with Yay! Mock do not have any expectation methods embedded inside them; instead they "record" invocations to the context in which they were created. Yay! Mock encourages dependency injection and loose coupling without pushing you into corners of testing implementation details. It works with any unit testing framework. Particular features include Mock interfaces (preferred) or classes Object identities via type-hints remain integral Expect invocati

文 件 列 表

yaymock-1.0-beta3
lib
LICENSE.GPL
LICENSE.LGPL
README
test-suite
tests
TODO
VIP VIP
0.197698s