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

create test harness and port TestApp to junit

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.0
    • Component/s: None
    • Labels:
      None

      Description

      To both encourage good internal development, and to make it easy for plugin developers to write unit tests of their own code I think we need a harness that makes it easy to unit test updates and queries against Solr (without needing a servlet container)

      Once we have this, i think we can/should also retire "TestApp" in favor of some JUnit tests (which would probably make more sense for other developers)

      Iv'e already started on this, i thought i'd have something to commit tonight, but i got distracted ... filing this bug as a tracker for now.

        Attachments

        1. TestBasicFunctionality.java
          5 kB
          Hoss Man
        2. TestHarness.java
          9 kB
          Hoss Man
        3. SOLR-3.zip
          18 kB
          Hoss Man
        There are no Sub-Tasks for this issue.

          Activity

            People

            • Assignee:
              hossman Hoss Man
              Reporter:
              hossman Hoss Man
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: