lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Gerlowski (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-11749) regression-test-like functionality for bin/solr*
Date Fri, 16 Feb 2018 15:24:00 GMT

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

Jason Gerlowski commented on SOLR-11749:
----------------------------------------

I attached a patch above which adds enough tests to establish a pattern for how these might
be developed.

I tried my best to make the tests look as much as possible like the Java JUnit tests everyone
is familiar with.

- there are test suites (files named "test_*.sh" anywhere under {{bin-test}})
- inside suites, there are individual test cases (bash functions prefixed with {{solr_test_}})
- there are @Before and @After analogues ({{solr_unit_test_before}} and {{solr_unit_test_after}})
- there are @BeforeClass and @AfterClass analog [^test-output.txt] ues ({{solr_suite_before}}
and {{solr_suite_after}})

The output, with the uploaded patch, is also attached.

> regression-test-like functionality for bin/solr*
> ------------------------------------------------
>
>                 Key: SOLR-11749
>                 URL: https://issues.apache.org/jira/browse/SOLR-11749
>             Project: Solr
>          Issue Type: Wish
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: scripts and tools
>            Reporter: Christine Poerschke
>            Priority: Minor
>         Attachments: SOLR-11749.patch, SOLR-11749.patch, test-output.txt
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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


Mime
View raw message