That is a GREATE job!
We have discussed privately some details about this testing framework, including some POC demos. I think it is a very good framework. This framework is currently a standalone part, so I'll go ahead and merge this PR in so that people can do quick iterations on it. TODO: 1. English document 2. Contribution Guide: How to add test -- 此致!Best Regards 陈明雨 Mingyu Chen Email: chenmin...@apache.org At 2022-02-19 12:20:26, "924060929" <924060...@qq.com.INVALID> wrote: >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.