class TestSuite
Public Class Methods
main(argv)
click to toggle source
# File vendor/qwik/lib/qwik/test-module-suite.rb, line 12 def self.main(argv) testsuite = self.new testsuite.run(argv) end
Public Instance Methods
load_by_loadlib(arg)
click to toggle source
# File vendor/qwik/lib/qwik/test-module-suite.rb, line 84 def load_by_loadlib(arg) Qwik::LoadLibrary.load_libs_here(arg) end
run(argv)
click to toggle source
# File vendor/qwik/lib/qwik/test-module-suite.rb, line 17 def run(argv) @suite = 'basic' optionparser = OptionParser.new {|opts| opts.banner = 'Usage: test-suite.rb [options]' opts.separator '' opts.separator 'Specific options:' opts.on('-b', '--[no-]basic', 'Run basic test suite.') {|a| @suite = 'basic' } opts.on('-a', '--[no-]all', 'Run all test suite.') {|a| @suite = 'all' } opts.separator '' opts.separator 'Common options:' opts.on_tail('-h', '--help', 'Show this message') { puts opts exit } } optionparser.parse!(argv) case @suite when 'basic' test_suite_basic when 'ml' test_suite_ml when 'all' test_suite_all end end
test_suite_all()
click to toggle source
# File vendor/qwik/lib/qwik/test-module-suite.rb, line 70 def test_suite_all test_suite_basic test_suite_extra end
test_suite_basic()
click to toggle source
# File vendor/qwik/lib/qwik/test-module-suite.rb, line 49 def test_suite_basic load_by_loadlib('qwik/test-module-*.rb') test_suite_ml test_suite_web end
test_suite_benchmark()
click to toggle source
# File vendor/qwik/lib/qwik/test-module-suite.rb, line 79 def test_suite_benchmark #load_files('bench') load_by_loadlib('qwik/bench-*.rb') end
test_suite_extra()
click to toggle source
# File vendor/qwik/lib/qwik/test-module-suite.rb, line 75 def test_suite_extra load_by_loadlib('qwik/check-*.rb') end
test_suite_ml()
click to toggle source
# File vendor/qwik/lib/qwik/test-module-suite.rb, line 60 def test_suite_ml load_by_loadlib('qwik/test-module-ml.rb') load_by_loadlib('qwik/ml-*.rb') load_by_loadlib('qwik/group-*.rb') load_by_loadlib('qwik/mail-*.rb') load_by_loadlib('qwik/test-ml-*.rb') load_by_loadlib('qwik/test-submit-*.rb') load_by_loadlib('qwik/test-ms-*.rb') end
test_suite_web()
click to toggle source
# File vendor/qwik/lib/qwik/test-module-suite.rb, line 55 def test_suite_web load_by_loadlib('qwik/common-*.rb') load_by_loadlib('qwik/act-*.rb') end