I can run "ant test" in the apache-nutch-2.2.1 directory but it runs all unit tests, and I just want to test a single plugin.
All the resources I've found so far about how to do this have not worked, is there any way to do it? What I've tried: 1.) "ant test" in the plugin directory, which is claimed to work here: http://wiki.apache.org/nutch/WritingPluginExample-1.2 I get: "BUILD FAILED ... Problem: failed to create task or type antlib:org.apache.ivy.ant:settings" 2.) I tried to use bin/nutch with the junit argument but maybe I am not doing something right. I thought I was following what is described in nutch command line documentation and Jira Issue: http://wiki.apache.org/nutch/bin/nutch%20junit https://issues.apache.org/jira/browse/NUTCH-672 I use "ant compile-core" and "ant runtime" then I try the command in botht he src and runtime/local directories: bin/nutch junit org.apache.nutch.indexer.basic.TestBasicIndexingFilter In runtime/local it says: Class not found "org.apache.nutch.indexer.basic.TestBasicIndexingFilter" In src it says: Error: Could not find or load main class junit.textui.TestRunner I also tried adding src/test to classpath and executing from the main directory. What am I doing wrong? -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-run-unit-tests-for-a-single-plugin-in-2-x-tp4077666.html Sent from the Nutch - User mailing list archive at Nabble.com.

