Sha256: 67ed48282938ced405885156af8f7a1d6a39a3d02fba68692f92ee8520d2c418
Contents?: true
Size: 591 Bytes
Versions: 6
Compression:
Stored size: 591 Bytes
Contents
require 'fox12' require 'test/unit' class TS_All def TS_All.suite suite = Test::Unit::TestSuite.new Object.constants.sort.each do |k| next if /^TC_/ !~ k constant = Object.const_get(k) if constant.kind_of?(Class) && constant.superclass == Test::Unit::TestCase # puts "adding tests for #{constant.to_s}" suite << constant.suite end end suite end end if __FILE__ == $0 require 'test/unit/ui/console/testrunner' Dir.glob("TC_*.rb").each do |testcase| require "#{testcase}" end Test::Unit::UI::Console::TestRunner.run(TS_All) end
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
fxruby-1.2.2 | tests/TS_All.rb |
fxruby-1.2.3 | tests/TS_All.rb |
fxruby-1.2.4 | tests/TS_All.rb |
fxruby-1.2.5 | tests/TS_All.rb |
fxruby-1.2.6 | tests/TS_All.rb |
fxruby-1.4.0 | tests/TS_All.rb |