Uploaded image for project: 'Nutch'
  1. Nutch
  2. NUTCH-672

allow unit tests to be run from bin/nutch

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.3
    • 1.4, nutchgora
    • build
    • None
    • Patch Available

    Description

      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

      Attachments

        1. 0001-NUTCH-672-allow-junit-tests-to-be-run-from-bin-nutc.patch
          1 kB
          Todd Lipcon
        2. NUTCH-672-junit-test-commandline.patch
          0.8 kB
          Lewis John McGibbney
        3. NUTCH-672-trunk-1.4-20110929.patch
          1 kB
          Lewis John McGibbney
        4. NUTCH-672-nutchgora-20110929.patch
          2 kB
          Lewis John McGibbney

        Activity

          People

            lewismc Lewis John McGibbney
            tlipcon Todd Lipcon
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: