Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Guard::Vows automatically runs your specs (much like autotest).

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .travis.yml
Octocat-spinner-32 Gemfile
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.md
Octocat-spinner-32 Rakefile
Octocat-spinner-32 guard-vows.gemspec
README.md

Guard::Vows Build Status?

Vows guard allows you to automatically and intelligently launch specs with files are modified.

  • Compatible with Vows

Install

Please be sure to have Guard installed before continue.

Install the gem:

$ gem install guard-vows

Add it to your Gemfile (inside development group):

group :development do
  gem 'guard-vows'
end

Add guard definition to your Guardfile by running this command:

$ guard init vows

Usage

Please read Guard usage doc

Options

Vows command-line

You can set any of the command-line arguments by setting the corresponding symbol to true in the :arguments hash to true (you may need to set the defaults to false also):

guard :vows, arguments: { spec: false, json: true } do
  # ...
end

Default options for Vows are as follows:

arguments: { 
  verbose: false,
  watch: false,
  silent: false,
  isolate: true,
  json: false,
  spec: true,
  dot_matrix: false,
  xunit: false,
  cover_plain: false,
  cover_html: false,
  cover_json: false,
  cover_xml: false,
  no_color: false
}

See the output of vows --help for more information.

Behaviour

By default Guard::Vows will only look for spec files within spec in your project root. You can configure Guard::Vows to look in additional paths by using the :spec_paths option:

guard :vows, spec_paths: ['test'] do
  # ...
end

Development

Pull requests are always welcome!

Author

James Harton

Something went wrong with that request. Please try again.