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/03/26 10:29:17 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=13947720#comment-13947720 ] 

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

Note that in the meantime I've been moving to utility classes instead of those base classes, which create a lot of coupling in the tests classes that can usually be avoided. See for example JspForwardTest [1] which uses the recently added HttpTest utility class and does not need to inherit from anything.

If you could take the opportunity to refactor this into utility classes that might be good. Happy to discuss the design on list if needed.

[1] https://svn.apache.org/repos/asf/sling/trunk/launchpad/integration-tests/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/JspForwardTest.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)