You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Jiri Daněk (JIRA)" <ji...@apache.org> on 2017/12/03 18:44:00 UTC

[jira] [Created] (ARTEMIS-1532) Enable tests which are unintentionally skipped by surefire

Jiri Daněk created ARTEMIS-1532:
-----------------------------------

             Summary: Enable tests which are unintentionally skipped by surefire
                 Key: ARTEMIS-1532
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1532
             Project: ActiveMQ Artemis
          Issue Type: Test
          Components: Broker, STOMP
    Affects Versions: 1.5.6, 2.5.0
            Reporter: Jiri Daněk
            Assignee: Justin Bertram


Some tests, e.g. {{org.apache.activemq.artemis.tests.integration.stomp#StompTestWithInterceptors}} are not being run by Maven.

This is because by default the Surefire Maven plugin searches for tests in classes with a certain name pattern. These tests are not named to conform to this pattern. https://maven.apache.org/surefire/maven-surefire-plugin/examples/inclusion-exclusion.html

There are some tests which have a conforming name, but it is not *Test.java, which seems to be the chosen Artemis convention. These are

{noformat}
org.apache.activemq.advisory.AdvisoryTests
org.apache.activemq.artemis.tests.integration.amqp.TopicDurableTests
org.apache.activemq.usecases.DurableSubscriptionHangTestCase
org.apache.activemq.usecases.TestBrokerConnectionDuplexExcludedDestinations
org.apache.activemq.artemis.tests.smoke.expire.TestSimpleExpire
{noformat}

CC [~clebertsuconic]



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)