[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-8600) Speed up executing of VPE tests

Yahor Radtsevich (JIRA) jira-events at lists.jboss.org
Mon Mar 28 09:43:38 EDT 2011


    [ https://issues.jboss.org/browse/JBIDE-8600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12592139#comment-12592139 ] 

Yahor Radtsevich commented on JBIDE-8600:
-----------------------------------------

What is done at this moment:
# The tests that need to be executed every time are extracted to *AllImportantTests. Now there are 202 'important' tests (number of all VPE tests is 808). So tests may be executed by 3-4 times faster.
# Delays in the tests were reduced significantly. Now the delays take about 10% of execution time (~25% earlier).

What is regarding multi-threading, AFAIK JUnits does not support this. Even if they did, all VPE tests should be run in UI thread.

> Speed up executing of VPE tests
> -------------------------------
>
>                 Key: JBIDE-8600
>                 URL: https://issues.jboss.org/browse/JBIDE-8600
>             Project: Tools (JBoss Tools)
>          Issue Type: Task
>          Components: Visual Page Editor core, Visual Page Editor Templates
>            Reporter: Yahor Radtsevich
>            Assignee: Yahor Radtsevich
>             Fix For: 3.3.0.M1
>
>
> Now we have ~800 JUnit tests. It takes ~20 min to execute all of them, which is too much.
> The ideas how to speed them up:
> # Split them up in ratio 80%/20% where 80% - the least probable tests to fall and 20% - the most. Then execute mainly the 20% part while developing.
> # Try to optimize tests using profiler.
> # Run in parallel?

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list