You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Semyon Danilov (Jira)" <ji...@apache.org> on 2021/12/07 17:33:00 UTC
[jira] [Commented] (IGNITE-16058) Create a JUnit annotation to load test parameters from a static variable
[ https://issues.apache.org/jira/browse/IGNITE-16058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17454773#comment-17454773 ]
Semyon Danilov commented on IGNITE-16058:
-----------------------------------------
Merged to the main branch, thank you for your contribution!
> Create a JUnit annotation to load test parameters from a static variable
> -------------------------------------------------------------------------
>
> Key: IGNITE-16058
> URL: https://issues.apache.org/jira/browse/IGNITE-16058
> Project: Ignite
> Issue Type: Task
> Reporter: Aleksandr Polovtcev
> Assignee: Aleksandr Polovtcev
> Priority: Minor
> Labels: ignite-3
> Time Spent: 20m
> Remaining Estimate: 0h
>
> JUnit Parameterized tests allow loading test parameters from a static method (see the {{MethodSource}} annotation), but not from a static variable. This is, however, is possible to do manually. [This articale|https://www.baeldung.com/parameterized-tests-junit-5#8-custom-annotation] can serve as a starting point.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)