horaedb
horaedb copied to clipboard
Missing features of integration test framework
List
- Interceptor
- [ ] support
ignoreinterceptor #107 - [ ] support
echointerceptor - [ ] able to handle random things https://github.com/CeresDB/ceresdb/issues/114#issuecomment-1218949297
- [ ] support
- UI
- [ ] can only run specified cases
- [ ] redirect server's log to the specified place
- [ ] Keep original SQL indents
- Runner
- [ ] customizable config file in dir level (e.g.
tests/cases/config.tomlandtests/cases/01_dummy/config.toml)
- [ ] customizable config file in dir level (e.g.
Additional context
List below are features I want to have:
- Able to set config file
- Keep original SQL indents. This is what looks like now:
input
CREATE TABLE `03_dml_select_order_table1` (
`timestamp` timestamp NOT NULL,
`value` int,
timestamp KEY (timestamp)) ENGINE=Analytic
WITH(
enable_ttl='false'
);
output
CREATE TABLE `03_dml_select_order_table1` ( `timestamp` timestamp NOT NULL, `value` int, timestamp KEY (timestamp)) ENGINE=AnalyticWITH( enable_ttl='false');
affected_rows: 0
List below are features I want to have:
Updated to the description 👍
- /cases/local/07_optimizer/optimizer.sql
This testcase contains a random result, so we need a
interceptorwhich can replace text before do equality check
This test framework is migrated to https://github.com/CeresDB/sqlness, and this issue is kinds of stale, so close it.
New issues can be created in new repo.