4paradigm / 4paradigm/OpenMLDB

refactor yaml sql test case

Đang mở
#427 0 bình luận 0 reaction 1 người được giao Được @aceforeverd nhận Xem trên GitHub
documentation enhancement test
Ngôn ngữ chính
C++
Star
1.7k
Fork
331
Merge trung bình
12 ngày 12 giờ
Pull request đã merge (30 ngày)
1

Mô tả

**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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
yaml
Lĩnh vực
testing
Loại issue
Tái cấu trúc
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
45/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.