File: .autotest

package info (click to toggle)
ruby-zentest 4.9.5-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 472 kB
  • ctags: 411
  • sloc: ruby: 3,209; makefile: 13
file content (21 lines) | stat: -rw-r--r-- 418 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# -*- ruby -*-

require 'autotest/restart'

Autotest.add_hook :initialize do |at|
  at.order = :random
  at.add_exception 'coverage'
  at.add_exception 'coverage.info'

  at.libs << ':../../minitest/dev/lib'
  at.testlib = ".minitest"

  %w(TestZenTest).each do |klass|
    at.extra_class_map[klass] = "test/test_zentest.rb"
  end
end

Autotest.add_hook :all_good do |at|
  system "rake rcov_info"
end if ENV['RCOV']