/guard-prove

Primary LanguageRubyMIT LicenseMIT

Guard::Prove

Prove guard allows to automatically & intelligently launch Perl tests when files are modified.

Install

Please be sure to have guard installed before continue.

TODO: publish gem

Usage

Please read guard usage doc

Guardfile

guard 'prove' do
  # prove modified test file
  watch(%r{^.*\.t$})

  # prove all files in t directory when some module gets modified
  watch(%r{^.*\.pm$})    { "t" }

  # prove path/t/file.t when path/file.pm gets modified
  # watch(%r{^(.*)/([^./]+)\.pm$}) {|m| m[1] + "/t/" + m[2] + ".t"}
end

Development

Pull requests are very welcome! Make sure your patches are well tested. Please create a topic branch for every separate change you make.

I would also appreciate code review of a current version from someone experienced in Ruby, because this is the first time I’m using it.

Authors

Marian Schubert