Michael,
See http://wiki.apache.org/nutch/HowToContribute for unit test. Junit is a tool Nutch uses to do some unit test. Nutch package includes quite a few test classes. It's a good idea to run the test as a way to check if there is any unexpected consequences that may be introduced by new codes.

Apparently, the command "ant test" does not work. Anybody has an idea how to make the unit test work?

AJ

Michael Ji wrote:

What is junit test standing for? A particular patch?

Sorry, if my question is silly.

Michael Ji,

--- AJ Chen <[EMAIL PROTECTED]> wrote:

I'm a new comer, trying to test Nutch for vertical
search. I downloaded the code and compiled it in cygwin. But, the unit test failed with the following message:

test-core:
  [delete] Deleting directory
nutch\trunk\build\test\data
   [mkdir] Created dir: nutch\trunk\build\test\data

BUILD FAILED
nutch\trunk\build.xml:173: Could not create task or
type of type: junit.

Did I miss anything for junit? Appreciate your help.


AJ Chen





__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

--
AJ (Anjun) Chen, Ph.D.
Canova Bioconsulting Marketing * BD * Software Development
748 Matadero Ave., Palo Alto, CA 94306, USA
Cell 650-283-4091, [EMAIL PROTECTED]
---------------------------------------------------

Reply via email to