Hi Ravi You can take a look at mockito
http://books.google.co.in/books?id=Nff49D7vnJcC&pg=PA138&lpg=PA138&dq=mockito+%2B+hadoop&source=bl&ots=IifyVu7yXp&sig=Q1LoxqAKO0nqRquus8jOW5CBiWY&hl=en&sa=X&ei=b2pjULHSOIPJrAeGsIHwAg&ved=0CC0Q6AEwAg#v=onepage&q=mockito%20%2B%20hadoop&f=false On Thu, Sep 27, 2012 at 2:09 AM, Kai Voigt <k...@123.org> wrote: > I don't know any other unit testing framework. > > Kai > > Am 26.09.2012 um 22:37 schrieb Ravi P <hadoo...@outlook.com>: > > Thanks Kai, I am exploring MRunit . > Are there any other options/ways to write unit tests for Map and Reduce > functions. Would like to evaluate all options. > > - > Ravi > > ------------------------------ > From: hadoo...@outlook.com > To: k...@123.org > Subject: RE: Unit tests for Map and Reduce functions. > Date: Wed, 26 Sep 2012 13:35:57 -0700 > > Thanks Kai, Which MRUnit jar I should use for Hadoop 0.20 ? > > https://repository.apache.org/content/repositories/releases/org/apache/mrunit/mrunit/0.9.0-incubating/ > > - > Ravi > > ------------------------------ > From: k...@123.org > Subject: Re: Unit tests for Map and Reduce functions. > Date: Wed, 26 Sep 2012 22:21:06 +0200 > To: user@hadoop.apache.org > > Hello, > > yes, http://mrunit.apache.org is your reference. MRUnit is a framework on > top of JUnit which emulates the mapreduce framework to test your mappers > and reducers. > > Kai > > Am 26.09.2012 um 22:18 schrieb Ravi P <hadoo...@outlook.com>: > > Is it possible to write unit test for mapper Map , and reducer Reduce > function ? > > > - > Ravi > > > -- > Kai Voigt > k...@123.org > > > -- > Kai Voigt > k...@123.org > > > > >