HiMock

来自开放百科 - 灰狐
跳转到: 导航, 搜索

HiMock is a Mock Objects Library for java from Huihoo.

It to help test the interactions of objects in isolation using Mock Objects.

Features

HiMock is a Mock Objects Library for java, it to help test the interactions of objects in isolation using mock object.

This library can rapidly create a mock implementation of any interface or class using dynamic proxies.

Using the himock.jar library:

     mock interface you only need add HiMock library to your CLASSPATH
     mock the class you need add HiMock and CGLIB library to your CLASSPATH

> PS: JUnit is needed all above.

相关链接

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱