FAQ
CLONE -Add unit tests framework (Mockito)
-----------------------------------------

Key: HDFS-820
URL: https://issues.apache.org/jira/browse/HDFS-820
Project: Hadoop HDFS
Issue Type: Test
Components: build
Affects Versions: 0.21.0, 0.22.0
Reporter: Konstantin Boudnik
Assignee: Konstantin Boudnik
Fix For: 0.21.0, 0.22.0


Most HDFS tests are functional tests that test a feature end to end by running a mini cluster. We should add more tests like TestReplication that attempt to stress individual classes in isolation, ie by stubbing out dependencies without running a mini cluster. This allows for more fine-grain testing and making tests run much more quickly because they avoid the cost of cluster setup and teardown. If it makes sense to use another framework besides junit we should standardize with MAPREDUCE-1050.


--
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
postedDec 9, '09 at 9:07p
activeDec 9, '09 at 9:07p
posts1
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

Konstantin Boudnik (JIRA): 1 post

People

Translate

site design / logo © 2022 Grokbase