Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-97

Rakefile now supports functional and unit tests

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • clients - ruby - flare
    • None
    • Darwin frizz 8.8.1 Darwin Kernel Version 8.8.1: Mon Sep 25 19:42:00 PDT 2006; root:xnu-792.13.8.obj~1/RELEASE_I386 i386 i386

    Description

      This patch includes modifications to support both functional and unit tests split out into separate directories like RoR. The test server activation was converted from two independent functions into a singleton class with start() and stop() methods.

      The functional tests have been wrapped with a ensure clause so that the solr test server will always be shut down--even if an exception was tossed during testing.

      By default the solr test server will not log startup messages to STDERR, however if it's desirable to see these you can:

      rake SOLR_CONSOLE=true

      Attachments

        1. split_out_tests.patch
          10 kB
          Ed Summers

        Activity

          People

            ehatcher Erik Hatcher
            edsu Ed Summers
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: