hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nigel Daley <nda...@yahoo-inc.com>
Subject Re: [jira] Commented: (HADOOP-1052) Map tasks not getting killed
Date Fri, 02 Mar 2007 06:58:51 GMT

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

Mime
View raw message