4paradigm / 4paradigm/OpenMLDB
refactor yaml sql test case
- Langage dominant
- C++
- Étoiles
- 1.7k
- Forks
- 331
- Merge moyen
- 12 j 12 h
- PR mergées (30 j)
- 1
Description
**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
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- yaml
- Domaine
- testing
- Type d'issue
- Refactorisation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 45/100