You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Lewis John McGibbney (JIRA)" <ji...@apache.org> on 2011/07/16 14:50:59 UTC

[jira] [Updated] (NUTCH-672) allow unit tests to be run from bin/nutch

     [ https://issues.apache.org/jira/browse/NUTCH-672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lewis John McGibbney updated NUTCH-672:
---------------------------------------

    Attachment: NUTCH-672-junit-test-commandline.patch

Updated patch which enables us to run JUint test from the commandline.

This has NOT been tested, merely updated against branch 1.4. I will test and comment in due course.



> 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
>            Reporter: Todd Lipcon
>            Assignee: Lewis John McGibbney
>            Priority: Trivial
>         Attachments: 0001-NUTCH-672-allow-junit-tests-to-be-run-from-bin-nutc.patch, NUTCH-672-junit-test-commandline.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.
For more information on JIRA, see: http://www.atlassian.com/software/jira