In the past, developer of Apache Doris send pull request and wait for 
regression testing, which is execute in Baidu internally.
There are some problem:
1. test case is not shared to developer. so we can not quickly 
accumulate  test case to ensure the stable of Apache Doris
2. waiting too long. if test failed, developer must change code and wait again


So, I implement a scalable regression testing framework(in pull 
request #8125). 
Developer can run regression testing in local enviroment, and 
contribute more test case.


In order to readable, writeable, normalization and scalable, I use groovy to 
implement a DSL which named Action, developer can use Action to write various 
test case, for example
1. sql action can execute a sql
2. qt action can execute sql and compare result to tsv file
3. stream load action can load data to doris
4. explain action can check query plan


welcome to contribute test case, improvement test framework, and update 
document.

Reply via email to