Description
Using mock objects in unit tests can improve code quality (see e.g. http://www.mockobjects.com/). Hadoop would benefit from having a mock object framework for developers to write unit tests with. Doing so will allow a wider range of failure conditions to be tested and the tests will run faster.
Attachments
Attachments
Issue Links
- relates to
-
HDFS-669 Add unit tests framework (Mockito)
- Closed