4paradigm / 4paradigm/OpenMLDB
refactor yaml sql test case
- 主要言語
- C++
- スター
- 1.7k
- フォーク
- 331
- 平均マージ
- 12日 12時間
- マージ済み PR(30日)
- 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