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

create test harness and port TestApp to junit

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.1.0
    • None
    • 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
          Chris M. Hostetter
        2. TestHarness.java
          9 kB
          Chris M. Hostetter
        3. SOLR-3.zip
          18 kB
          Chris M. Hostetter
        There are no Sub-Tasks for this issue.

        Activity

          People

            hossman Chris M. Hostetter
            hossman Chris M. Hostetter
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: