This document discusses unit testing MapReduce jobs in Hadoop. It introduces MapReduce and provides a sample MapReduce code. It then demonstrates unit testing MapReduce jobs using Mockito, noting some shortcomings. The document presents MRUnit, a test harness that allows MapReduce programs to be more easily tested. It provides examples testing with MRUnit and discusses advantages and gotchas. Finally, it mentions future directions like MiniMRCluster for in-memory testing.