Sha256: 3999bfdb06bca207a8982b5f7905b2e0b75b52b81c1d63c22f71f7e4b7c69eca

Contents?: true

Size: 389 Bytes

Versions: 28

Compression:

Stored size: 389 Bytes

Contents

module Autotest::RCov
  @@command, @@pattern = "rcov", "test/*.rb"

  def self.command= o
    @@command = o
  end

  def self.pattern= o
    @@pattern = o
  end

  Autotest.add_hook :all_good do |at|
    system "rake #{@@command} PATTERN=#{@@pattern}"
  end

  Autotest.add_hook :initialize do |at|
    at.add_exception 'coverage'
    at.add_exception 'coverage.info'
    false
  end
end

Version data entries

28 entries across 28 versions & 6 rubygems

Version Path
BanzaiMan-ZenTest-4.2 lib/autotest/rcov.rb
grosser-autotest-4.0.3 lib/autotest/rcov.rb
grosser-autotest-4.0.4 lib/autotest/rcov.rb
ryanbriones-ZenTest-3.11.1 lib/autotest/rcov.rb
autotest-4.2.10 lib/autotest/rcov.rb
autotest-4.2.9 lib/autotest/rcov.rb
autotest-4.2.8 lib/autotest/rcov.rb
autotest-4.2.7 lib/autotest/rcov.rb
autotest-4.2.6 lib/autotest/rcov.rb
autotest-4.2.5 lib/autotest/rcov.rb
autotest-4.2.4 lib/autotest/rcov.rb
shanel-autotest-4.2.3 lib/autotest/rcov.rb
autotest-4.2.3 lib/autotest/rcov.rb
autotest-4.2.2 lib/autotest/rcov.rb
autotest-4.2.1 lib/autotest/rcov.rb
autotest-4.1.4 lib/autotest/rcov.rb
ZenTest-4.2.1 lib/autotest/rcov.rb
ZenTest-4.2.0 lib/autotest/rcov.rb
ZenTest-3.9.3 lib/autotest/rcov.rb
ZenTest-3.10.0 lib/autotest/rcov.rb