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

您现在的位置是:虫虫源码 > Java > 在单元/回归测试中捕捉运行时对象的行为

在单元/回归测试中捕捉运行时对象的行为

  • 资源大小:14.14 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: php testing test-driven-development

资 源 简 介

php-mock-recorder is an innovative testing framework that enables developers to record the internal behaviors of existing applications, creating Mock Objects without tedious and error-prone hand-coding. php-mock-recorder enables the developer to take an EXISTING application, run it through a use case, and automatically capture Mock Classes that mimick existing object behaviors for that given use-case. php-mock-recorder generates the mock class with expectations and behaviors already captured, unlike other frameworks which require hand-coding of the behaviors and expectations. The generated mock classes have no dependency on the original classes. By repeating the recording process for different use-cases and different target objects, the programmer can slice and dice any existing code into distinct sets of "to be tested" and "to be mocked" classes. A lot of competing libraries exist in PHP and Java which support the concept

文 件 列 表

BUGS.TXT
COPYING.TXT
php-mock-example.php
php-mock-recorder.php
VERSION.TXT
VIP VIP
0.197006s