sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Veena Basavaraj (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SQOOP-1873) Fix Mapreduce tests to use mocks/ test class for IDF that extends from the IDF base class
Date Mon, 15 Dec 2014 20:39:13 GMT

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

Veena Basavaraj updated SQOOP-1873:
-----------------------------------
    Summary: Fix Mapreduce tests to use mocks/ test class for IDF that extends from the IDF
base class  (was: Fix Mapreduce tests to use mocks/ test class for IDF)

> Fix Mapreduce tests to use mocks/ test class for IDF that extends from the IDF base class
> -----------------------------------------------------------------------------------------
>
>                 Key: SQOOP-1873
>                 URL: https://issues.apache.org/jira/browse/SQOOP-1873
>             Project: Sqoop
>          Issue Type: Sub-task
>          Components: sqoop2-framework
>            Reporter: Veena Basavaraj
>              Labels: tech-debt-test, unit-test
>             Fix For: 1.99.5
>
>
> Map reduce tests in the mapreduce package should mock/ use a test class the IDF and not
rely on a concrete CSVIDF directly. 
> Also it should add tests for from and to IDF been different
> Basic 101 of unit testing is to use mocks for unrelated objects 
> public class MRJobTestUtil
> public class TestMapReduce 
> public class TestSqoopOutputFormatLoadExecutor 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message