hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Boudnik (JIRA)" <j...@apache.org>
Subject [jira] Created: (HDFS-820) CLONE -Add unit tests framework (Mockito)
Date Wed, 09 Dec 2009 21:07:18 GMT
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.


Mime
View raw message