[
https://issues.apache.org/jira/browse/QPID-2639?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12876440#action_12876440
]
Rajith Attapattu commented on QPID-2639:
----------------------------------------
How about if we move QpidTestCase to the common module? (The QpidBrokerTestCase
should be in systests).
That would allow any module to leverage the QpidTestCase.
Right now if the broker module is going to use QpidTestCase then it will have a
dependency on the systests which already has a dep on the broker module and
circular deps are never a good thing.
> Add functionality to exclude any test using the current exclude mechanism
> -------------------------------------------------------------------------
>
> Key: QPID-2639
> URL: https://issues.apache.org/jira/browse/QPID-2639
> Project: Qpid
> Issue Type: Improvement
> Components: Java Tests
> Reporter: Rajith Attapattu
> Assignee: Rajith Attapattu
> Priority: Minor
>
> Currently only tests extending QpidTestCase can be excluded using the exclude
> file mechanism employed by the java ant tests.
> There are several test cases that does not need to be run with every profile,
> but they cannot be excluded since they don't extend QpidTestCase.
> Ex. SlowConsumerDetectionConfigurationTest is exclusively for the java broker
> and does not need to be run when using the cpp test profiles.
> On the other hand you cannot make them extend QpidTestCase as by default this
> class will start a broker.
> Therefore it would be nice if we have a simple class that implements the
> exclusion and then the current QpidTestCase to extend it.
> I think it's best if we have a simple class called QpidTestCase that
> implements the exclude functionality (and perhaps capture the test output as
> well) and then rename the current QpidTestCase to QpidBrokerTestCase and make
> it extend QpidTestCase.
> This will allow us to easily extend any JUnit test case from the profiles.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]