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


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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to