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

Marius Petria commented on SLING-3478:
--------------------------------------

Hi Bertrand,

It seems that there are (at least) two bundles providing test utilities for 
integration tests. I was using [1] for my tests and did not even know about [2] 
(the one that you are referring to).
Which is the difference between the two? At first look it seems that [1] allows 
more customization, in particular installing additional bundles while [2] seems 
appropriate for testing OOTB  functionality.

Do you suggest to keep using [1] but switch from using base classes to utility 
classes in the same way you are using it for [2]?

[1] 
https://svn.apache.org/repos/asf/sling/trunk/testing/tools/src/main/java/org/apache/sling/testing/tools/sling/SlingTestBase.java
[2] 
https://svn.apache.org/repos/asf/sling/trunk/bundles/commons/testing/src/main/java/org/apache/sling/commons/testing/integration/HttpTestBase.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
>            Reporter: Marius Petria
>         Attachments: 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)

Reply via email to