4paradigm / 4paradigm/OpenMLDB
refactor yaml sql test case
- 主要语言
- C++
- 星标
- 1.7k
- 派生
- 331
- 平均合并
- 12 天 12 小时
- 30 天内合并 PR
- 1
描述
**Is your feature request related to a problem? Please describe.**
there is `cases/plan/error_unsupport_sql.yaml`, but might better to put some of those case together with the happy ones.
**Describe the solution you'd like**
- add yaml syntax doc
- support fail assert
- support which phase to fail so e.g `runner_test` can filter on this. ( refactor over `mode` key ? )
- assert fail message
- test code need tweaks
**Additional context**
- backward compatibility
贡献指南
调研方向
Look at the test file `cases/plan/error_unsupport_sql.yaml` to understand its current structure. Examine how SQL test cases are run, likely in `runner_test` or similar test suites. The goal is to merge error cases with happy-path cases by adding fail assertions and phase specifications, while maintaining backward compatibility. Check for existing documentation on the YAML syntax to update.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- yaml
- 领域
- testing
- Issue 类型
- 重构
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100