[jbosstools-issues] [JBoss JIRA] Resolved: (JBDS-1202) problems running tests

Denis Golovin (JIRA) jira-events at lists.jboss.org
Tue Jun 22 15:09:46 EDT 2010


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

Denis Golovin resolved JBDS-1202.
---------------------------------

    Fix Version/s: 4.0.0.M1
       Resolution: Done


Common solved problems are:
1. all plug-ins are packed as jars by default and in some plug-ins that are assuming they are exploded pom.xml should be updated to mark test plug-in or plug-ins under test as unpacked
2. tests are integration not unit tests and there are so many hidden dependencies. For instance in archives core tests, archives types was declared in different plug-ins, that weren't included in test as dependency.
3. xulrunner plug-ins weren't referenced at all, so they never got into test run and VPE tests always failed.
4. Some SWTBot plug-ins have no tests at all because they have just base classes, so I marked them as eclipse-plugin,
5. SWTBot are integration tests and should be executed different way with everything installed or they'll fail. That's why I marked them as skipped or like just a eclipse plug-in.
6. Thycho doesn't understands jars inside jar so it couldn't find tests, I've updated all manifests to use . instead of named jar.
7. There were no downloaded requirements to run tests (fixed for AS tests which requires AS distributions, seam and ws left)
8. Looks like Startup code is not executed during tests so I had to move XULRunner Initialization into start method.
9. XULRunner initialization plug-in is a fragment should be explicitly declared as dependency to be installed and activated.

Now we have 2250 tests in last tycho builds

> problems running tests
> ----------------------
>
>                 Key: JBDS-1202
>                 URL: https://jira.jboss.org/browse/JBDS-1202
>             Project: Developer Studio (JBoss Developer Studio)
>          Issue Type: Sub-task
>          Components: Build
>            Reporter: Nick Boldt
>            Assignee: Denis Golovin
>             Fix For: 4.0.0.M1
>
>         Attachments: buildlog.latest.txt
>
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list