You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (JIRA)" <ji...@apache.org> on 2014/04/16 12:40:15 UTC

[jira] [Commented] (SLING-3478) Facilitate writing of integration tests for multiple instances

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

Bertrand Delacretaz commented on SLING-3478:
--------------------------------------------

In http://svn.apache.org/r1587856 I have added a more elegant way to run tests like MultipleOsgiConsoleTest [1], using JUnit Rules - does that work for your use cases? The SlingInstanceManager is still available in any case.

[1] https://svn.apache.org/repos/asf/sling/trunk/testing/samples/integration-tests/src/test/java/org/apache/sling/testing/samples/integrationtests/http/MultipleOsgiConsoleTest.java

> Facilitate writing of integration tests for multiple instances
> --------------------------------------------------------------
>
>                 Key: SLING-3478
>                 URL: https://issues.apache.org/jira/browse/SLING-3478
>             Project: Sling
>          Issue Type: Improvement
>          Components: Testing
>    Affects Versions: Sample Integration Tests 1.0.6, org.apache.sling.testing.tools 1.0.6
>            Reporter: Marius Petria
>             Fix For: Sample Integration Tests 1.0.8, org.apache.sling.testing.tools 1.0.8
>
>         Attachments: SLING-3478.1.patch, SLING-3478.patch
>
>
> Facilitate writing of integration tests for multiple instances. This is needed for better testing features like replication or topology discovery.
> Create a base class for such tests and a way to configure multiple instances and also sample integration test.



--
This message was sent by Atlassian JIRA
(v6.2#6252)