Generate your backend tests from JSON-Schema documents. This allows a documentation centered workflow to drive colloboration between frontend, backend and even third parties.
Add this line to your application's Gemfile:
gem 'pharaoh'
And then execute:
$ bundle
Or install it yourself as:
$ gem install pharaoh
TODO: Create type_mapping_spec to test translation of schema properties into airborne hash
- Fork it ( https://github.com/[my-github-username]/pharaoh/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request