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.yaml
001.test_case.yaml
001.config.yaml
001.test_case_config.yaml
001.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 from test_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.yaml files to the schema #Problem, test_group.yaml files to the schema #test_group_configuration. But it cannot just map *.yaml (or even data/**/*.yaml) to the schema #test_case_configuration.
There could be more, the two cases above just happened to me today alone.
In
2025-09we put test case configuration files in a file called<testcase>.yaml., where<testcaseis the name of the testcase, such as001.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.yamlor whatever we can agree on.
The reason for this is to allow tooling to recognise such files using standard glob patterns. For instance,
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)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.