[jbosstools-issues] [JBoss JIRA] (JBIDE-11713) Set up some automated tests for installation, updates...

Mickael Istria (JIRA) jira-events at lists.jboss.org
Fri May 11 10:25:21 EDT 2012


     [ https://issues.jboss.org/browse/JBIDE-11713?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mickael Istria updated JBIDE-11713:
-----------------------------------

    Attachment: scripts-1.0.0-SNAPSHOT-delivery.zip
                sources.zip


Stuff to validate install and updates scenarios.

It provides a (Linux bash) scripts that installs an SWTBot test case (a framework) that performs installation of all stuff in a given update site.

As it is SWTBot, it is recommanded to run it on an alternative DISPLAY, as described here https://community.jboss.org/wiki/ConfortableTestingWithSWTBot

So, once scripts-1.0.0-SNAPSHOT-delivery.zip is unzipped, set the environment using

{code}
Xephyr :51 &
export DISPLAY=:51
metacity --sm-disable --replace &
{code}

Then prepare a file containing the list of repo to install. Let's call this file sites-11708.

{code}
http://download.jboss.org/jbosstools/updates/JBossTools-3.3.0.Beta2.core/
http://download.jboss.org/jbosstools/updates/nightly/core/trunk/
{code}
(for use case described in JBIDE-11708)

and assuming you have a fresh Eclipse instance to perform tests located in ~/testEclipse, run

{code}
testInstall.sh ~/testEclipse sites-11708
{code}

This test will perform installation of each site as a user would do (through p2 UI), and will reboot on each tests.
In case of error, it returns an error message with an error code (different from 0).


Please provide feedback on this approach, and in case you like it, we need to think about how to integrate it in source tree and in hudson.


                
> Set up some automated tests for installation,updates...
> -------------------------------------------------------
>
>                 Key: JBIDE-11713
>                 URL: https://issues.jboss.org/browse/JBIDE-11713
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: Build/Releng, QA
>            Reporter: Mickael Istria
>            Assignee: Mickael Istria
>             Fix For: 3.3.0.CR1
>
>         Attachments: scripts-1.0.0-SNAPSHOT-delivery.zip, sources.zip
>
>
> We should set up some automated tests and jobs to verify ability to install/update/... from the repo we produce.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list