json_spec
json_spec copied to clipboard
BDD/ATDD for your json-based REST APIs
So this package could be used with SF3 without specifying dev-master as version.
example: ``` Then Json response should match schema: """ {$JSON_SCHEMA} """ And Then Json response at "foo/bar" should match schema "support/schemas/response.json" ```
For those who use [web-api-extension](https://github.com/Behat/WebApiExtension) it's not so easy to use `json_spec`. @tyx provided his proof-of-concept to integrate `WebApiContext` with `json context`: https://github.com/tyx/WebApiExtension/commit/58d832a2be924b418ca2c188c57d340c6877b8d1 but i don't like the idea of...