yanze chen created IOTDB-5021:
---------------------------------

             Summary: Using Junit parameterized test to optimize schema IT 
framework
                 Key: IOTDB-5021
                 URL: https://issues.apache.org/jira/browse/IOTDB-5021
             Project: Apache IoTDB
          Issue Type: Improvement
            Reporter: yanze chen
            Assignee: yanze chen


In order to make the tests cover Schema_File mode and Memory mode, we 
originally needed to create two classes for each IT, such as 
IoTDBMetadataFetchIT and IoTDBMetadataFetchSchemaFileIT, which would result in 
a large number of classes.

This ISSUE introduces a JUnit parametric test approach. An AbstractSchemaIT 
abstract class is created for all schema test, and its subclasses will 
automatically run tests in both schema engine modes.

 

reference:

[https://blog.csdn.net/w605283073/article/details/80051229]

[https://stackoverflow.com/questions/27745691/how-to-combine-runwith-with-runwithparameterized-class]

 



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

Reply via email to