Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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