Sha256: fbf5b46fa49fa400507d4374d862d103da19fefc7a8724badc313087ab9bf346

Contents?: true

Size: 626 Bytes

Versions: 35

Compression:

Stored size: 626 Bytes

Contents

require 'test/unit'

require 'test/unit/collector/objectspace'

# Modify the Test::Unit runner in Eclipse, so it only runs our tests
module Test::Unit
  module RDT
    def self.buildSuite filename
      collector = Test::Unit::Collector::ObjectSpace.new 
      collector.filter = Watir::UnitTest.filter
      collector.collect filename
    end
  end
end

# Invoke default test runner so it only runs our tests
at_exit do
  unless $! || Test::Unit.run?
    runner = Test::Unit::AutoRunner.new false
    runner.process_args ARGV
    runner.filters = Watir::UnitTest.filter 
    exit runner.run
  end
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
commonwatir-1.9.0.rc3 unittests/setup/filter.rb
commonwatir-1.9.0.rc2 unittests/setup/filter.rb
commonwatir-1.9.0.rc1 unittests/setup/filter.rb
commonwatir-1.8.1 unittests/setup/filter.rb
commonwatir-1.8.1.rc1 unittests/setup/filter.rb
commonwatir-1.8.0 unittests/setup/filter.rb
commonwatir-1.8.0.rc1 unittests/setup/filter.rb
commonwatir-1.7.1 unittests/setup/filter.rb
commonwatir-1.7.0 unittests/setup/filter.rb
commonwatir-1.7.0.rc1 unittests/setup/filter.rb
commonwatir-1.6.7 unittests/setup/filter.rb
commonwatir-1.6.7.rc1 unittests/setup/filter.rb
commonwatir-1.6.6 unittests/setup/filter.rb
commonwatir-1.6.6.rc2 unittests/setup/filter.rb
commonwatir-1.6.6.rc1 unittests/setup/filter.rb