[
https://issues.apache.org/jira/browse/QPID-8740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tomas Vavricka updated QPID-8740:
---------------------------------
Description:
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.
was:
QpidUnitTestExtension should be refactored to use JUnit 6 functionality.
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.
> [Broker-J] Update QpidUnitTestExtension to JUnit 6
> --------------------------------------------------
>
> 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]