lightblue-platform / pyresttest

Python Rest Testing
Apache License 2.0
1 stars 1 forks source link

Better validation of test files #7

Open jewzaam opened 10 years ago

jewzaam commented 10 years ago

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.