[
https://issues.apache.org/jira/browse/QPID-8740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18070243#comment-18070243
]
ASF subversion and git services commented on QPID-8740:
-------------------------------------------------------
Commit ffe64bf811a6c0241148a33df2c1b0a46334c3c9 in qpid-broker-j's branch
refs/heads/main from Daniil Kirilyuk
[ https://gitbox.apache.org/repos/asf?p=qpid-broker-j.git;h=ffe64bf811 ]
QPID-8740: [Broker-J] JUnit 6 migration - QpidUnitTestExtension should be
stateless (#384)
> [Broker-J] JUnit 6 migration - QpidUnitTestExtension should be stateless
> ------------------------------------------------------------------------
>
> Key: QPID-8740
> URL: https://issues.apache.org/jira/browse/QPID-8740
> Project: Qpid
> Issue Type: Improvement
> Components: Broker-J
> Affects Versions: qpid-java-broker-10.0.1
> Reporter: Daniil Kirilyuk
> Priority: Minor
> Fix For: qpid-java-broker-10.0.2
>
>
> QpidUnitTestExtension currently uses internal fields _testClass and
> _testMethod to store test metadata, which does not align with JUnit best
> practices. The logic of the extension should be changed to store no internal
> state. Documentation should be added.
> QpidUnitTestExtension should use getRequiredTestClass() /
> getRequiredTestMethod() to resolve class name and method name. Class
> variables _testClass and _testMethod storing this information will not be
> needed anymore.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]