guard-spinach

Options

all_on_start
Boolean. Run all features on start.
generate
Boolean. Auto generate missing step files during each run.
backtrace
Boolean. Show backtrace
tags
Array. Run scenarios marked with tags
command_prefix
String. Allows you to inject something before the `spinach` command. E.g. `zeus spinach`.

Example Guardfile snippet

guard 'spinach', command_prefix: 'zeus', all_on_start: true, generate: true, backtrace: true, tags:["@javascript", "~@disabled"] do
  watch(%r|^features/(.*)\.feature|)
  watch(%r|^features/steps/(.*)([^/]+)\.rb|) do |m|
    "features/#{m[1]}#{m[2]}.feature"
  end
end

License

MIT (Expat) License. Copyright 2011 Codegram Technologies