Hi
It's not supported out of the box, but you can achieve it by using callbacks.
guard :rspec do
…
# Trigger all Cucumber features when all Specs passed
callback(:all_end) do
unless Guard.guards(:rspec).instance_variable_get('@last_failed')
Guard.run_all({ :guard => Guard.guards(:cucumber) })
end
end
end
@thibaudgg: Would be nice to have an accessor for `@last_failed` :P
Michael