-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
In 2025-09 we put test case configuration files in a file called <testcase>.yaml., where <testcase is the name of the testcase, such as 001.
I suggest instead put this information into a file that has a different suffix that .yaml. For instance,
001_test_case.yaml001.test_case.yaml001.config.yaml001.test_case_config.yaml001.metadata.yaml
or whatever we can agree on.
The reason for this is to allow tooling to recognise such files using standard glob patterns. For instance,
- A LSP-aware editor (VS Code, NeoVim, etc.) will negotiate the correct JSON schema via
schemastore, which matches on glob patterns. There is no way to tell the editor to please use this grammar for out test case configuration files because we cannot positively identify them (in particular, distinguish them fromtest_group.yaml) - BAPCtools may want to validate test case configuration files against a schema to ensure test data integrity; the dispatcher works on file names, mappting (say)
problems.yamlfiles to the schema#Problem,test_group.yamlfiles to the schema#test_group_configuration. But it cannot just map*.yaml(or evendata/**/*.yaml) to the schema#test_case_configuration.
There could be more, the two cases above just happened to me today alone.
Metadata
Metadata
Assignees
Labels
No labels