[jbosstools-issues] [JBoss JIRA] (JBIDE-19081) Use simpler Surefire include/exclude pattern in parent pom

Fred Bricon (JIRA) issues at jboss.org
Wed Jul 6 03:51:00 EDT 2016


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

Fred Bricon commented on JBIDE-19081:
-------------------------------------

PR to fix foundation and its missing tests: https://github.com/jbosstools/jbosstools-base/pull/517

Before applying:
{noformat}
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.452 sec - in org.jboss.tools.foundation.checkup.test.FoundationCheckupTestSuite
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.683 sec - in org.jboss.tools.foundation.core.test.FoundationAllTests
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.188 sec - in org.jboss.tools.foundation.help.ui.internal.search.SearchiskoEngineTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.542 sec - in org.jboss.tools.foundation.ui.test.FoundationUITestSuite

Total classes: 4
Total tests run: 27
{noformat}

After applying
{noformat}
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.45 sec - in org.jboss.tools.foundation.checkup.test.JVMProblemDetectorTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec - in org.jboss.tools.foundation.checkup.test.TestEnvironmentDetectorTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.044 sec - in org.jboss.tools.foundation.core.properties.internal.PropertiesProviderFactoryTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.017 sec - in org.jboss.tools.foundation.core.properties.internal.SimpleHierarchicalVersionTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec - in org.jboss.tools.foundation.core.properties.internal.VersionExtractorTest
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.989 sec - in org.jboss.tools.foundation.core.properties.internal.VersionProviderTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.028 sec - in org.jboss.tools.foundation.core.test.credentials.CredentialsModelTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.009 sec - in org.jboss.tools.foundation.core.test.digest.DigestUtilsTest
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.977 sec - in org.jboss.tools.foundation.core.test.ecf.URLTransportUtilTest
Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec - in org.jboss.tools.foundation.core.test.expressions.ExpressionResolverTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.018 sec - in org.jboss.tools.foundation.core.test.jobs.WaitJobTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.371 sec - in org.jboss.tools.foundation.help.ui.internal.search.SearchiskoEngineTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.363 sec - in org.jboss.tools.foundation.ui.test.BrowserUtilTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.079 sec - in org.jboss.tools.foundation.ui.test.WidgetUtilityTest

Total classes: 14
Total tests run: 67
{noformat}

> Use simpler Surefire include/exclude pattern in parent pom
> ----------------------------------------------------------
>
>                 Key: JBIDE-19081
>                 URL: https://issues.jboss.org/browse/JBIDE-19081
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 4.3.0.Alpha1
>            Reporter: Nick Boldt
>            Assignee: Nick Boldt
>            Priority: Minor
>             Fix For: 4.4.x
>
>
> 1. In JBDS9, use these new default patterns for Surefire to define which test classes to run/exclude:
> {code}
> include = *Test*, *Test, *TestCase
> exclude = *Abstract*
> {code}
> 2. If that causes test failures because running incorrectly named
> abstract stuff, they can refactor, add their own root pom overrides, use
> a TestSuite, or use @Ignore in test classes.
> 3. If the count of tests run suddenly DROPS because the pattern isn't
> running the correct # of tests, they can add their own root pom
> overrides, or use a TestSuite.
> Ref: http://lists.jboss.org/pipermail/jbosstools-dev/2015-January/009688.html



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list