[ 
https://issues.apache.org/jira/browse/LUCENE-3489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13121020#comment-13121020
 ] 

Dawid Weiss commented on LUCENE-3489:
-------------------------------------

While working on my presentation I've been trying to generalize the concept of 
"randomized tests". There's definitely a lot of great concepts here, but 
they're closely coupled with Lucene and the rest of the Solr/Lucene 
infrastructure. 

I have a draft code of a RandomizedTesting framework that provides very much 
similar functionality, although in a slightly different technical way (for 
example it's based on JUnit @Rules only, not on a custom runner/ base abstract 
class). I would really like you to peek at this and, perhaps with some effort, 
generalize the concepts in the test framework instead of introducing more 
Lucene-specific annotations.

I'll publish the code tomorrow (it still needs some, ehm, polishing) along with 
some thoughts that I had about the current code in LuceneTestCase/Runner. 

I'd really like this to evolve into something of a stand-alone project (even if 
bundled with Lucene) so that other project can benefit without necessarily rely 
on the rest of Lucene code. We're already using a somewhat decoupled code 
internally and making it really cross-project applicable is a great way of 
proving these concepts are generally useful.

Until tomorrow? :)
                
> Refactor test classes that use assumeFalse(codec != SimpleText, Memory) to 
> use new annotation and move the expensive methods to separate classes
> ------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-3489
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3489
>             Project: Lucene - Java
>          Issue Type: Test
>          Components: general/test
>    Affects Versions: 4.0
>            Reporter: Uwe Schindler
>             Fix For: 4.0
>
>
> Folloup for LUCENE-3463.
> TODO:
> - Move test-methods that need the new @UseNoMemoryExpensiveCodec annotation 
> to separate classes
> - Eliminate the assumeFalse-calls that check the current codec and disable 
> the test if SimpleText or Memory is used

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to