Uploaded image for project: 'Apache IoTDB'
  1. Apache IoTDB
  2. IOTDB-1559

Refactor the IT framework

    XMLWordPrintableJSON

Details

    Description

      • Background

      Today iotdb has many IT cases, some are in the server module, some are in the cluster module, and some cluster test cases are in the testcontainer module.

      The test case structure causes developers to sometimes write test cases repeatedly to ensure running correctly of the single-node mode and the cluster mode.

      • Suggestion

      At present, the test cases of single-node mode and cluster mode are separated, but they have intersections, and they can be classified for reuse by using JUnit's category annotation.

      In the testcontainer module, test cases are based on the test environment, but the test environment is relatively fixed, we can use maven to configure multiple environments to test the classified test cases.

      • User Guide

      https://github.com/apache/iotdb/blob/master/integration/README.md
       

      Attachments

        Issue Links

          Activity

            People

              irvine0109 Irvine
              irvine0109 Irvine
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: