lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shai Erera (JIRA)" <>
Subject [jira] Commented: (LUCENE-2609) Generate jar containing test classes.
Date Thu, 27 Jan 2011 12:29:44 GMT


Shai Erera commented on LUCENE-2609:

Agreed - tests improvement should be our main concern. That's why I said this .jar is just
a service, we don't commit to anything besides saying "for each release, tests.jar includes
the classes that make up our framework". If it will make things any simpler, then let's put
all the framework classes under src/test/o.a.l/framework and have simple target which jars
up everything underneath it.

But I don't have any intentions complicating tests development, improvement and refactoring.
Indeed, including specific files by path would mean some more work when we refactor those
classes (e.g. move them around), but I don't think it's such a big deal if they'll be absent
from the .jar. It's easily fixed. However, if we agree to put everything under */framework,
then it won't happen, right?

And if the Solr tests depend on actual test cases, because e.g. they extend them, then let's
discuss that too - Uwe's proposal makes sense too.

> Generate jar containing test classes.
> -------------------------------------
>                 Key: LUCENE-2609
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Build
>    Affects Versions: 3.0.2
>            Reporter: Drew Farris
>            Assignee: Shai Erera
>            Priority: Minor
>             Fix For: 3.1, 4.0
>         Attachments: LUCENE-2609.patch, LUCENE-2609.patch, LUCENE-2609.patch
> The test classes are useful for writing unit tests for code external to the Lucene project.
It would be helpful to build a jar of these classes and publish them as a maven dependency.

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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message