Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-14443 Improve ide&testing support
  3. HIVE-18495

JUnit rule to enable Driver level testing

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • Testing Infrastructure
    • None

    Description

      I've tried to write a case for a sophisticated check...it worked so well that I've started using it and eventually created a junit rule to make it easier to reuse

      Currently it takes ~15-25sec to run a test case with this framework (from which most of the time is the launch time of all kind of stuff which are needed to run a driver command).

      • enable to write JUnit tests which has access to the IDriver level
      • leave out the cli-driver; it sometimes causes problems
      • write tests at the ql module
      • it should also work from the IDE without changing anything

      Note: JUnit 5 would be great for this task; but unfortunately junit5 needs maven-surefire 2.19.1 ; which causes all kinds of problems for hive devs using idea...so that's not an option.

      Attachments

        1. HIVE-18495.01.patch
          49 kB
          Zoltan Haindrich
        2. HIVE-18495.02.patch
          50 kB
          Zoltan Haindrich
        3. HIVE-18495.03.patch
          48 kB
          Zoltan Haindrich

        Issue Links

          Activity

            People

              kgyrtkirk Zoltan Haindrich
              kgyrtkirk Zoltan Haindrich
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: