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`.
- binstubs
- Boolean. Run command from your `bin` direcotry (`bin/spinach`). This may be useful when working with something like [Spring](https://github.com/rails/spring).
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