Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Guard::Yeti automatically run's your YUI tests via Yeti

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 spec
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .rvmrc
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 Guardfile
Octocat-spinner-32 README.md
Octocat-spinner-32 Rakefile
Octocat-spinner-32 guard-yeti.gemspec
README.md

Guard::Yeti

Install

Please be sure to have Guard and Yeti installed before continue.

Install the gem:

$ gem install guard-yeti

Add it to your Gemfile (inside test group):

gem 'guard-yeti'

Add guard definition to your Guardfile with:

$ guard init yeti

Usage

Please read the Guard usage documentation.

Start the yeti server and open http://localhost:8000 in a browser

yeti --server

Guardfile

Please read Guard doc for more info about the Guardfile DSL.

Rails app

guard 'yeti' do
  watch(%r{^public/javascripts/(.*).js}) { |m| "public/javascripts/test/#{m[1]}_test.html" }
  watch(%r{^public/javascripts/test/(.*).html}) 
end

Author

Simon Højberg

Something went wrong with that request. Please try again.