[
https://issues.apache.org/jira/browse/SLING-2368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bertrand Delacretaz resolved SLING-2368.
----------------------------------------
Resolution: Fixed
Implemented a long time ago
> ServerSetup utility - more flexible way of setting up the server-side of
> integration tests
> ------------------------------------------------------------------------------------------
>
> Key: SLING-2368
> URL: https://issues.apache.org/jira/browse/SLING-2368
> Project: Sling
> Issue Type: Improvement
> Components: Testing
> Reporter: Bertrand Delacretaz
> Assignee: Bertrand Delacretaz
> Priority: Minor
>
> I need a more flexible way of setting up Sling-based servers for integration
> testing, that allows the various phases of the server setup (start runnable
> jar, wait for it to be ready, install additional bundles, create test content
> etc) to be selectively run or ignored.
> This is useful when such server setups are slow, for example when testing
> upgrades from one Sling-based system to another, which means starting an old
> version, setting up some content on it, stopping it, starting the new
> version, running tests on it to check that the test content was preserved or
> suitably adapted, etc.
> Being able to selectively disable setup tasks allows for restarting tests
> from saved states, which is often much faster than redoing the whole setup
> when debugging the resulting system or its tests.
> I'll create the corresponding utilities under testing/tools and use them in
> testing/samples as an example.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)