Attila Doroszlai created HDDS-9932:
--------------------------------------

             Summary: Compose annotation for tests parameterized with 
ContainerTestVersionInfo
                 Key: HDDS-9932
                 URL: https://issues.apache.org/jira/browse/HDDS-9932
             Project: Apache Ozone
          Issue Type: Improvement
          Components: test
            Reporter: Attila Doroszlai
            Assignee: Attila Doroszlai


{{ContainerTestVersionInfo}} is used in several classes to parameterize test 
methods.

Example:

{code}
@ParameterizedTest
@MethodSource("data")
public void testIncorrectTotalsNoData(ContainerTestVersionInfo versionInfo)
{code}

The goal of this task is to reduce code duplication by defining a [composite 
annotation|https://junit.org/junit5/docs/current/user-guide/#writing-tests-meta-annotation].

(Will create follow-up tasks for other similar common parameter types.)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to