Brian created NUTCH-1610:
----------------------------
Summary: Can't run individual unit tests for plugins in nutch 2.x
Key: NUTCH-1610
URL: https://issues.apache.org/jira/browse/NUTCH-1610
Project: Nutch
Issue Type: Bug
Components: test
Affects Versions: 2.2.1
Reporter: Brian
Priority: Minor
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.
Previous ways posted online for running a single unit test don't work including:
1) "ant test" in the plugin directory
I get:
"BUILD FAILED ... Problem: failed to create task or type
antlib:org.apache.ivy.ant:settings"
2) using bin/nutch with the junit argument, e.g.:
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
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira