Easymock 简明教程
Discuss EasyMock
EasyMock 是一款模拟框架,是基于 JAVA 的库,用于对 JAVA 应用程序进行有效的单元测试。EasyMock 用于模拟接口,以便可以将虚拟功能添加到虚拟接口中,该功能可用于单元测试。本教程应帮助您学习如何使用 EasyMock 创建单元测试,以及如何以简单直观的方式使用其 API。
EasyMock is a mocking framework, JAVA-based library that is used for effective unit testing of JAVA applications. EasyMock is used to mock interfaces so that a dummy functionality can be added to a mock interface that can be used in unit testing. This tutorial should help you learn how to create unit tests with EasyMock as well as how to use its APIs in a simple and intuitive way.