Skip to content

Instantly share code, notes, and snippets.

@netmilk
Created March 17, 2015 15:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save netmilk/e6e91f4bb23a16997998 to your computer and use it in GitHub Desktop.
Save netmilk/e6e91f4bb23a16997998 to your computer and use it in GitHub Desktop.
kolotoc:dredd-rack-sinatra-example netmilk$ bundle exec rake blueprint:verify 
Verify the API conformance against its blueprint.
dredd doc/*.apib doc/*.apib.md  --hookfiles doc/hooks/hooks-worker-client.coffee

info: Beginning Dredd testing...
info: Found Hookfiles: doc/hooks/hooks-worker-client.coffee
Spawning ruby worker
Dredd Ruby hooks worker is running

Dredd connected to Ruby Dredd hooks worker

Before hook in Ruby

fail: GET / duration: 0ms
After hook in Ruby
Stash content: stashed data

info: Displaying failed tests...
fail: GET / duration: 0ms
fail: Failed in before hook: Yay! Failed in ruby hook.
complete: 0 passing, 1 failing, 0 errors, 0 skipped, 1 total
complete: Tests took 1073ms
kolotoc:dredd-rack-sinatra-example netmilk$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment