Sha256: aa67c1f2c0dc187dbc68f388dc3ef1674ac2703160013439ff307f0f04b1adb1

Contents?: true

Size: 541 Bytes

Versions: 70

Compression:

Stored size: 541 Bytes

Contents

module Autotest::RCov
  @@command, @@options = "rcov", nil

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

  def self.pattern= o
    warn "RCov.pattern= no longer has any functionality. please remove."
  end

  def self.options= o
    @@options = o
  end

  Autotest.add_hook :all_good do |at|
    options = @@options ? "RCOVOPTS=\"#{@@options}\"" : ""
    system "rake #{@@command} #{options}"
    false
  end

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

Version data entries

70 entries across 66 versions & 12 rubygems

Version Path
cloudsmith-api-0.44.4 vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.2/lib/autotest/rcov.rb
dadapush_client-1.0.1 vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.2/lib/autotest/rcov.rb
minitest-autotest-1.1.1 lib/autotest/rcov.rb
minitest-autotest-1.1.0 lib/autotest/rcov.rb
ZenTest-4.11.2 lib/autotest/rcov.rb
cloudsmith-api-0.30.7 vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.1/lib/autotest/rcov.rb
color_me_shop-1.0.0 vendor/bundle/ruby/2.5.0/gems/ZenTest-4.11.1/lib/autotest/rcov.rb
cloudsmith-api-0.21.4 vendor/bundle/ruby/2.3.0/gems/ZenTest-4.11.1/lib/autotest/rcov.rb
ZenTest-4.11.1 lib/autotest/rcov.rb
minitest-autotest-1.0.3 lib/autotest/rcov.rb
dwolla_swagger-1.0.6 vendor/bundle/ruby/2.2.0/gems/ZenTest-4.11.0/lib/autotest/rcov.rb
minitest-autotest-1.0.2 lib/autotest/rcov.rb
minitest-autotest-1.0.1 lib/autotest/rcov.rb
minitest-autotest-1.0.0 lib/autotest/rcov.rb
ZenTest-4.11.0 lib/autotest/rcov.rb
minitest-autotest-1.0.0.b.1 lib/autotest/rcov.rb
ZenTest-4.10.1 lib/autotest/rcov.rb
ZenTest-4.10.0 lib/autotest/rcov.rb
ZenTest-4.9.5 lib/autotest/rcov.rb
ZenTest-4.9.4 lib/autotest/rcov.rb