[
https://issues.apache.org/jira/browse/SQOOP-1873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Veena Basavaraj updated SQOOP-1873:
-----------------------------------
Description:
Map reduce tests in the mapreduce package should mock/ use a test class the IDF
and not rely on a class directly.
Basic 101 of unit testing is to use mocks for unrelated objects
was:
The JODA time jars are added in the JobManager today because the IDF
implementation - CSVIntermediateDataFormat needs it.
this cannot scale if more like AvroIDF or JSON IDF is added. so expose a method
to set dependent jars in IDF API
> Fix Mapreduce tests to no rely on the CSVIntermediateFormat class
> -----------------------------------------------------------------
>
> Key: SQOOP-1873
> URL: https://issues.apache.org/jira/browse/SQOOP-1873
> Project: Sqoop
> Issue Type: Bug
> Components: sqoop2-framework
> Reporter: Veena Basavaraj
> Assignee: Veena Basavaraj
> Labels: newbie
> 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 class directly.
> Basic 101 of unit testing is to use mocks for unrelated objects
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)