About MRUnit
MRUnit is testing framework for testing MapReduce programs written for running in Hadoop ecosystem. MRUnit makes testing Mapper and Reducer classes easier.
For more information please see http://mrunit.apache.org.
How to use
<dependency> <groupId>org.apache.mrunit</groupId> <artifactId>mrunit</artifactId> <version>0.9.0-incubating</version> <classifier>hadoop2</classifier> </dependency>
Where classifier is either hadoop1 or hadoop2 whichever matches the major version of hadoop you are using.