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 2010/03/19 16:35:28 UTC

[jira] Updated: (SOLR-1835) speed up and improve tests

     [ https://issues.apache.org/jira/browse/SOLR-1835?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yonik Seeley updated SOLR-1835:
-------------------------------

    Attachment: SOLR-1835.patch

Attaching a first cut at a SolrTestCaseJ4 that extends LuceneTestCaseJ4.
Code is pretty much ripped from AbstractSolrTestCase and made static.
Seems to work though.  I changed SimpleFacetsTest to use it as an example.

> speed up and improve tests
> --------------------------
>
>                 Key: SOLR-1835
>                 URL: https://issues.apache.org/jira/browse/SOLR-1835
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Yonik Seeley
>             Fix For: 3.1
>
>         Attachments: SOLR-1835.patch
>
>
> General test improvements.
> We should use @BeforeClass where possible to avoid per test method overhead, and reuse lucene test utils where possible.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.