You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Yonik Seeley (JIRA)" <ji...@apache.org> on 2006/03/13 18:22:41 UTC

[jira] Commented: (SOLR-3) create test harness and port TestApp to junit

    [ http://issues.apache.org/jira/browse/SOLR-3?page=comments#action_12370211 ] 

Yonik Seeley commented on SOLR-3:
---------------------------------

Looking good Hoss!

There are probably some opportunities to use Java5 stuff like varargs...
  doc("id",42,"subject","easy")

Also what we really need is a way to dynamically add/create a schema, so one could add a new analysis filter,
then define a fieldtype & field that uses it and test it out, without modifying some global testing schema. 

> create test harness and port TestApp to junit
> ---------------------------------------------
>
>          Key: SOLR-3
>          URL: http://issues.apache.org/jira/browse/SOLR-3
>      Project: Solr
>         Type: Task
>     Reporter: Hoss Man
>     Priority: Minor
>  Attachments: TestBasicFunctionality.java, TestHarness.java
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira