FAQ
Use mock objects for unit tests
---------------------------------

Key: HDFS-669
URL: https://issues.apache.org/jira/browse/HDFS-669
Project: Hadoop HDFS
Issue Type: Test
Components: test
Reporter: Eli Collins
Assignee: Eli Collins


Like MAPREDUCE-1050 but for HDFS. If using framework makes sense we should standardize across Hadoop projects. Using mock objects will allow for fine grain unit tests (ie write tests for particular class without creating a MiniDFSCluster by creating mock objects for some/all of the classes dependencies). I'll work on an example patch for preliminary review.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouphdfs-dev @
categorieshadoop
postedOct 1, '09 at 6:42p
activeOct 1, '09 at 6:42p
posts1
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

Eli Collins (JIRA): 1 post

People

Translate

site design / logo © 2022 Grokbase