You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Jan Morlock <ja...@googlemail.com> on 2013/03/24 23:08:15 UTC

Recommendation for integration test framework

Hi,

our solr implementation consists of several cores sometimes interacting with
each other. Using SolrTestCaseJ4 didn't work out for us. Instead we would
like to test the resulting war from outside using integration tests. We are
utilizing Apache Maven as build management tool. Therefore we are currently
thinking about using the maven failsafe plugin.
Does anybody have experiences with using it in combination with solr? Or
does somebody have a better recommendation for us?

Thank you very much in advance
Jan



--
View this message in context: http://lucene.472066.n3.nabble.com/Recommendation-for-integration-test-framework-tp4050936.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: Recommendation for integration test framework

Posted by Jan Morlock <ja...@googlemail.com>.
Hi kamaci,

sorry for the late reply. I did't mean to say that we are building Solr 
using Maven. I meant to say that we are currently working on our own 
project which uses the Solr jars and wars. This project is built using 
Maven.

BTW, we solved the original problem by using EmbeddedSolrServer in order 
to set up a Solr server inside our test cases. The tests are performed 
during the integration-test phase of the Maven lifecycle.

Best regards
Jan

Am 24.03.2013 23:14, schrieb kamaci [via Lucene]:
> Unrelated about your question you said that: "We are utilizing Apache Maven
> as build management tool" I think currently ant + ivy is build and
> dependency management tools, maven pom is generated  via plugin (If I am
> wrong you can correct it). Are there any plan to move the project based on
> Maven?
>
> 2013/3/25 Jan Morlock <[hidden email]
> </user/SendEmail.jtp?type=node&node=4050937&i=0>>
>
>  > Hi,
>  >
>  > our solr implementation consists of several cores sometimes interacting
>  > with
>  > each other. Using SolrTestCaseJ4 didn't work out for us. Instead we
> would
>  > like to test the resulting war from outside using integration tests.
> We are
>  > utilizing Apache Maven as build management tool. Therefore we are
> currently
>  > thinking about using the maven failsafe plugin.
>  > Does anybody have experiences with using it in combination with solr? Or
>  > does somebody have a better recommendation for us?
>  >
>  > Thank you very much in advance
>  > Jan
>  >
>  >
>  >
>  > --
>  > View this message in context:
>  >
> http://lucene.472066.n3.nabble.com/Recommendation-for-integration-test-framework-tp4050936.html
>  > Sent from the Solr - User mailing list archive at Nabble.com.
>  >
>
>
> ------------------------------------------------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
> http://lucene.472066.n3.nabble.com/Recommendation-for-integration-test-framework-tp4050936p4050937.html
>
> To unsubscribe from Recommendation for integration test framework, click
> here
> <http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4050936&code=amFuLm1vcmxvY2tAZ29vZ2xlbWFpbC5jb218NDA1MDkzNnwtMjA1NzMzMDg4Mw==>.
> NAML
> <http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://lucene.472066.n3.nabble.com/Recommendation-for-integration-test-framework-tp4050936p4060803.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: Recommendation for integration test framework

Posted by Furkan KAMACI <fu...@gmail.com>.
Unrelated about your question you said that: "We are utilizing Apache Maven
as build management tool" I think currently ant + ivy is build and
dependency management tools, maven pom is generated  via plugin (If I am
wrong you can correct it). Are there any plan to move the project based on
Maven?

2013/3/25 Jan Morlock <ja...@googlemail.com>

> Hi,
>
> our solr implementation consists of several cores sometimes interacting
> with
> each other. Using SolrTestCaseJ4 didn't work out for us. Instead we would
> like to test the resulting war from outside using integration tests. We are
> utilizing Apache Maven as build management tool. Therefore we are currently
> thinking about using the maven failsafe plugin.
> Does anybody have experiences with using it in combination with solr? Or
> does somebody have a better recommendation for us?
>
> Thank you very much in advance
> Jan
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Recommendation-for-integration-test-framework-tp4050936.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>