Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-16058

Create a JUnit annotation to load test parameters from a static variable

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Minor
    • Resolution: Resolved
    • None
    • 3.0.0-alpha4
    • None

    Description

      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 can serve as a starting point.

      Attachments

        Issue Links

          Activity

            People

              apolovtcev Aleksandr Polovtcev
              apolovtcev Aleksandr Polovtcev
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m