Module: Octotest::Autotest

Included in:
Autotest::OctotestRspec, Autotest::OctotestRspec2
Defined in:
lib/octotest/autotest.rb

Instance Method Summary collapse

Instance Method Details

#rubyObject



18
19
20
# File 'lib/octotest/autotest.rb', line 18

def ruby
  [ Octotest.binary, @ruby ].join(" ")
end

#run_testsObject



5
6
7
8
9
10
11
12
13
14
15
16
# File 'lib/octotest/autotest.rb', line 5

def run_tests
  mtime = self.last_mtime

  Octotest.rubies.each do |ruby|
    begin
      @ruby = ruby
      self.last_mtime = mtime
      super
    rescue
    end
  end
end