Many times I have misspelled optional fields in test files to either have the test run with unexpected results or fail. Would be nice to have validation. If we represented the tests as JSON (which is a subset of YAML [1]) a json schema could be provided and OPTIONALLY used to verify test files before running a test. I say optionally because there's reluctance to have strict enforcement of structure.
Many times I have misspelled optional fields in test files to either have the test run with unexpected results or fail. Would be nice to have validation. If we represented the tests as JSON (which is a subset of YAML [1]) a json schema could be provided and OPTIONALLY used to verify test files before running a test. I say optionally because there's reluctance to have strict enforcement of structure.