[ 
https://issues.apache.org/jira/browse/HADOOP-6423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Konstantin Boudnik updated HADOOP-6423:
---------------------------------------

     Description: 
Common tests are functional tests or end to end. It makes sense to have Mockito 
framework for the convenience of true unit tests development. 


  was:
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. 


    Hadoop Flags:   (was: [Reviewed])
         Summary: Add unit tests framework (Mockito)  (was: CLONE -Add unit 
tests framework (Mockito))

> Add unit tests framework (Mockito)
> ----------------------------------
>
>                 Key: HADOOP-6423
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6423
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: build
>    Affects Versions: 0.21.0, 0.22.0
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>
> Common tests are functional tests or end to end. It makes sense to have 
> Mockito framework for the convenience of true unit tests development. 

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

Reply via email to