Closed forresto closed 9 years ago
Need anything else for this @jonnor @bergie ?
Tests?
Like what?
Like one example of invalid data, and one of valid data in a examples/metadata.yaml file would do the trick. Following the pattern of the other example files.
examples/metadata.yaml doesn't exist. I added a good example to examples/contentblock.yml but don't understand what kind of invalid example would be helpful.
OK, added a fail.
Ready.
Thanks. In an attempt to clarify: The purpose of invalid type tests is primarily to know what the limitations specified in schema is (correctly) applied. The purpose of valid type tests is primarily to ensure that the data we intend to accept is actually accepted and that we continue to accept it as schema evolves (not breaking compatibility).
Yeah. Was heartening to first make the expected fail fail, then pass.
Mo points!! On Apr 28, 2015 7:52 PM, "Forrest Oliphant" notifications@github.com wrote:
Yeah. Was heartening to first make the expected fail fail, then pass.
— Reply to this email directly or view it on GitHub https://github.com/the-grid/apidocs/pull/6#issuecomment-97266775.
crop filter overlay