[
https://issues.apache.org/jira/browse/NUTCH-672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13117213#comment-13117213
]
Julien Nioche commented on NUTCH-672:
-------------------------------------
You are welcome. Looks fine to me +1 to commit
We could refine that later e.g. copy the test dir with
{code:xml}
<copy todir="${runtime.local}/test">
<fileset dir="${build.dir}/test"/>
</copy>
{code}
only if ${build.dir}/test is not empty. Otherwise we'd always get an empty test
dir even for users who won't do any testing at all.
> allow unit tests to be run from bin/nutch
> -----------------------------------------
>
> Key: NUTCH-672
> URL: https://issues.apache.org/jira/browse/NUTCH-672
> Project: Nutch
> Issue Type: New Feature
> Components: build
> Affects Versions: 1.3
> Reporter: Todd Lipcon
> Assignee: Lewis John McGibbney
> Priority: Minor
> Fix For: 1.4, 2.0
>
> Attachments:
> 0001-NUTCH-672-allow-junit-tests-to-be-run-from-bin-nutc.patch,
> NUTCH-672-junit-test-commandline.patch, NUTCH-672-nutchgora-20110929.patch,
> NUTCH-672-trunk-1.4-20110929.patch
>
>
> In development it's handy to be able to run a single test case easily. You
> can do it with ant -Dtestcase=foo test, but that's slow since it still checks
> all the plugins for changes, rebuilds jars, etc.
> This patch adds a command to bin/nutch to run a junit against what's already
> compiled. It's much faster than using ant. Recommended for use with nutch
> -core
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira