You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by Nigel Daley <nd...@yahoo-inc.com> on 2007/03/02 07:58:51 UTC

Re: [jira] Commented: (HADOOP-1052) Map tasks not getting killed

On Feb 28, 2007, at 2:55 PM, Doug Cutting (JIRA) wrote:

> I'm sure you can find documentation on JUnit, but the short of it  
> is that you implement a class that extends JUnit's TestCase whose  
> class name starts with "Test", and that is placed in the src/test  
> tree.  Then you define methods within that class whose names begin  
> with "test", and call JUnit's "assert" methods within these.  These  
> will then be run by "ant test".
>
> The TestMapRed.java is a standalone MapReduce-based test, as is  
> TestFileSystem.java.  Even simpler, not MR tests are TestPath.java,  
> etc.  Tests based on MiniMRCluster are TestMiniMRLocalFS.

I added these (plus some other unit testing comments) to
http://wiki.apache.org/lucene-hadoop/HowToContribute

HTH,
Nige